Results 1 to 2 of 2

Thread: Named Mutex in QT

  1. #1
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Named Mutex in QT

    Hi All,

    Does anyone know whether there is something similar to a named global mutex in QT. I have a windows/linux app, where i only want one logged in user to be able to perform a particular update task, so was thinking of using a named mutex, but can't see this being possible in QT.

    If it's not possible, i'll just use the OS specific named mutex functions myself.

    David

  2. #2
    Join Date
    Feb 2011
    Location
    Romania
    Posts
    53
    Thanks
    1
    Thanked 11 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Named Mutex in QT

    Maybe QSystemSemaphore is what are you looking for.

Similar Threads

  1. Mutex between two or more process
    By bred in forum Qt Programming
    Replies: 4
    Last Post: 1st November 2010, 15:43
  2. Mutex unlock without locking it
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2010, 17:17
  3. QFileDialog in modeless QDialog and mutex error
    By enno in forum Qt Programming
    Replies: 2
    Last Post: 7th April 2010, 20:49
  4. Thread mutex lock and return value
    By ^NyAw^ in forum Qt Programming
    Replies: 5
    Last Post: 13th February 2010, 07:32
  5. Qthread mutex
    By dognzhe in forum Qt Programming
    Replies: 5
    Last Post: 18th May 2009, 05:46

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.