Hi,

When the thread is exiting the destroy_current_thread_data will be called, and 
only if the thread data is adopted, the QThreadPrivate::finish is called.
But normally the thread data always have the isAdopted with false, then this 
thread 's status is still running even if it's exited.

So could somebody share when will the QThreadPrivate::finish be called during 
thread exiting ?
And what's the QAdoptedThread for? As only creating the AdoptedThread then the 
thread data' isAdopted will be set as true.

Thanks,
Song
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to