Results 1 to 2 of 2

Thread: how isRunning() finds thread is running?

  1. #1
    Join Date
    Apr 2006
    Posts
    122
    Thanks
    18
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default how isRunning() finds thread is running?

    while using isRunning() , how Qt finds thread is running? it give me result but inquisitiveness..

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how isRunning() finds thread is running?

    You have the freedom to read the sources and find out by yourself..
    QThread has (at least in Qt 4) simply a member variable which is updated according to state changes.
    J-P Nurmi

Similar Threads

  1. [QT4] QThread and printing a QList<QPixmap>
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 21:44
  2. 2 questions about threads
    By Dark_Tower in forum Qt Programming
    Replies: 8
    Last Post: 20th March 2006, 20:13
  3. Replies: 2
    Last Post: 6th January 2006, 21:15

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.