But how can I test if another app is already running with QSystemSemaphore?
I can set a semaphore with a single ressource (initial value = 1) and lock
it, but there is a single method aquire() which blocks forever if the value
is 0. So I can just make the second process freeze forever until the first
one exits.

2016-06-03 12:54 GMT+02:00 Nye <kshegu...@gmail.com>:

> Hello,
> Have you tried a system semaphore? It should work in this case as far as I
> know.
>
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to