Thank you for your reply...
Because there is a loop in the run method and I know the count.
Thank you for your reply...
Because there is a loop in the run method and I know the count.
Then emit a signal and catch it somewhere or store the status in some member variable (possibly of type QAtomicInt) of the runnable object and read it from there.
But storing the status in a member of normal type int is not possible? Is this right?
So I have to use QAtomicInt....
Qtonimo (30th July 2012)
Ok, this works very well. So a getter method is possible between different threads.
But why you recommended QAtomicInt?
Bookmarks