Results 1 to 4 of 4

Thread: Qt event queue overloading?

Hybrid View

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

    Default Re: Qt event queue overloading?

    Quote Originally Posted by gct View Post
    So my question is, has anyone seen this kind of behavior? Is it possible to destroy the event queue by having too complex of an event handler?
    No, not really. I think you are facing one of two issues... either you have code that locks itself in your custom event handler causing the whole processing to stop or events are arriving into the queue at a much higher rate than they are processed causing the event handling mechanism to choke. I see no other possibility... unless there's some Python or PyQt issue involved.

  2. #2
    Join Date
    Mar 2008
    Posts
    6

    Default Re: Qt event queue overloading?

    That's what I thought to, but I don't have any shared objects in my event handler, so I have no mutexes that could be getting locked causing it to stall...

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

    Default Re: Qt event queue overloading?

    Maybe some infinite loop?

Similar Threads

  1. Replies: 1
    Last Post: 16th October 2007, 22:41
  2. Event Queue Question
    By TheGrimace in forum Qt Programming
    Replies: 10
    Last Post: 5th October 2007, 16:55
  3. Replies: 6
    Last Post: 21st September 2007, 13:51
  4. 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
  5. 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.