Results 1 to 11 of 11

Thread: Event Queue Question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Event Queue Question

    But what do you need signals for? Isn't it better to have a wait condition so that all threads wait there until there is anything to do? You could have then a single controller object where you could store jobs and start/stop threads.

  2. #2
    Join Date
    May 2007
    Posts
    90
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    40

    Question Re: Event Queue Question

    I don't think I understand. How do you transfer information across threads if not by signals/slots?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Event Queue Question

    Through a common variable.

  4. The following user says thank you to wysota for this useful post:

    TheGrimace (5th October 2007)

  5. #4
    Join Date
    May 2007
    Posts
    90
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    40

    Default Re: Event Queue Question

    Ok, Thank You

Similar Threads

  1. Replies: 6
    Last Post: 21st September 2007, 13:51
  2. The event fired by the mouse click on the frame
    By Placido Currò in forum Qt Programming
    Replies: 8
    Last Post: 3rd March 2007, 09:05
  3. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55

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
  •  
Qt is a trademark of The Qt Company.