QThread::IsRunning()
Unsolved
General and Desktop
-
Hi,
does QThread::IsRunning() return true when the thread is started and run() is executed even if there isn't any call to exec() (no event loop) in the run() method? -
Hi,
does QThread::IsRunning() return true when the thread is started and run() is executed even if there isn't any call to exec() (no event loop) in the run() method?as I don't know if it is true, I have put a boolean variable and I set it at the beginning of run() and unset it at the end of run()....
-
Yes, it will return true even if there is no event loop.
-
Yes, it will return true even if there is no event loop.
@Chris-Hennes thank you chris