Results 1 to 7 of 7

Thread: QMutex protection type??

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
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QMutex protection type??

    If you lock the mutex both in the function and in the other place then yes. Other than that -- no, the mutex doesn't care what is inside the critical section it protects.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    snow_starzz (27th November 2012)

Similar Threads

  1. Hardware ID Protection?
    By xyz247 in forum Qt Programming
    Replies: 0
    Last Post: 5th November 2012, 05:53
  2. Replies: 3
    Last Post: 16th February 2012, 20:42
  3. QMutex QMutex::Recursive is not a type name
    By Qiieha in forum Qt Programming
    Replies: 2
    Last Post: 9th May 2011, 15:01
  4. Replies: 1
    Last Post: 11th October 2010, 11:21
  5. program self-deactivation and protection with Qt
    By timmu in forum Qt Programming
    Replies: 3
    Last Post: 21st May 2010, 19:00

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.