Quote Originally Posted by merlvingian View Post
Is there any simple way to wakeup a thread from QThread::msleep().
There is no way of waking a thread from a sleep.

Using QTimer as a single shot and putting the thread in a while loop looking for a close and cleanup call seems like more system overhead while QTimer::start() only has an integer resolution and QThread::msleep() has unsigned long being another caveat. I could piggyback QTimers but it would just be more kludged code.
Maybe you could use a QWaitCondition instead?