Qt help presents following code sample in QThreadPool section:
Does it mean that "moveToThread" is called behind the scene and "hello" instance is running in the content of the currently available thread in QThreadPool?HelloWorldTask *hello = new HelloWorldTask();
// QThreadPool takes ownership and deletes 'hello' automatically
QThreadPool::globalInstance()->start(hello);
If so, is it possible to verifiy it? I searched qthreadpool.cpp and did not find direct reference to "movetoThread" call.
Thanks.
Bookmarks