Results 1 to 4 of 4

Thread: Thread synchronization, QWaitCondition, and recursiveMutex

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Thread synchronization, QWaitCondition, and recursiveMutex

    Quote Originally Posted by RThaden View Post
    Not sure about that: does the invokeMethod above with the BlockingQueuedConnection return when the signal has been delivered or when the desired slot has been fully executed?
    The blocking is done with a semaphore which is released in QMetaCallEvent destructor, so the sender is blocked as long as the meta call event object exists. AFAIK when event loop picks up the meta call event it first executes the slot and then deletes the event.

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

    RThaden (28th August 2008)

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