PDA

View Full Version : Named Mutex in QT



doggrant
26th July 2011, 11:55
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

cincirin
26th July 2011, 12:11
Maybe QSystemSemaphore (http://doc.qt.nokia.com/4.7-snapshot/qsystemsemaphore.html) is what are you looking for.