PDA

View Full Version : List all qt threads handle



marcofuics
27th January 2015, 11:23
Hi *

There is a way of obtain the equivalent of QThread::currentThread () not just for the current thread but for all threads of the current process? or at least how to map the info retrieved from QThread::currentThread () and QThread::currentThreadId () on a win32 platform?

anda_skoa
27th January 2015, 13:55
or at least how to map the info retrieved from QThread::currentThread () and QThread::currentThreadId () on a win32 platform?

From the documentation of QThread::currentThreadId: "this function returns the DWORD (Windows-Thread ID) returned by the Win32 function getCurrentThreadId()"

Cheers,
_