Semaphores need to have a unique name -- fixes #7341
authorRobin Gareus <robin@gareus.org>
Sun, 7 May 2017 00:02:30 +0000 (02:02 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 7 May 2017 00:02:30 +0000 (02:02 +0200)
commit6bcd543bf2cd3fab463253e39e10430016bd6504
tree551c1a5fb22009ad1a8c32cc043d0b2e1ba834fa
parente73755f8fb27c41a552acb4f8f6dedb6acbe8f32
Semaphores need to have a unique name -- fixes #7341

On Windows (and OSX) semaphores are named. If the name matches an existing
semaphore, it is re-used and not re-initialized. In case of multiple
LV2-plugins each with a worker-thread this can lead to a deadlock.
libs/ardour/worker.cc