Ok, so if I decide to use QMutex, all I have to do is to guard the setThreadToNULL slot and the destructor.
The mutex will prevent(block) the thread from deleting, while destructor is executing. Right?
Ok, so if I decide to use QMutex, all I have to do is to guard the setThreadToNULL slot and the destructor.
The mutex will prevent(block) the thread from deleting, while destructor is executing. Right?
Last edited by Qiieha; 14th August 2015 at 13:29.
Bookmarks