Results 1 to 20 of 30

Thread: QThread exec proplem to stop...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    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
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QThread exec proplem to stop...

    Quote Originally Posted by marcel View Post
    Not so sure about that. Signals can be emitted from within the thread to other threads - this works because the are nothing but some events. It is similar to calling QApplication: postEvent( someThread, someEvent ).
    I'm talking about using signals within a thread, but this generally applies to using slots across threads as well.

    Yes, any event that targets this thread( without an event loop ) is a potential danger to the entire application ( therefore to other threads ).
    If a thread doesn't have an event loop, all its objects' events won't ever be processed.

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

    patrik08 (20th May 2007)

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.