Results 1 to 2 of 2

Thread: List all qt threads handle

  1. #1
    Join Date
    Jan 2015
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default List all qt threads handle

    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?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: List all qt threads handle

    Quote Originally Posted by marcofuics View Post
    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,
    _

Similar Threads

  1. Number of elements in a list of list
    By giorgik in forum General Programming
    Replies: 5
    Last Post: 18th July 2013, 08:36
  2. Replies: 4
    Last Post: 14th June 2012, 23:33
  3. Replies: 1
    Last Post: 23rd April 2011, 17:33
  4. Qt Threads vs Native Threads performance
    By StackOverflow in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2010, 12:14
  5. List View with sections for alphabetialy sorted list
    By woodtluk in forum Qt Programming
    Replies: 4
    Last Post: 12th October 2010, 11:50

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.