prefer pthread-semaphores (posix API) with mingw
authorRobin Gareus <robin@gareus.org>
Wed, 2 Dec 2015 12:38:59 +0000 (13:38 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 2 Dec 2015 12:59:48 +0000 (13:59 +0100)
commit14d6470ad36a1682966ff93e774849901055a916
treed37838c341a09f1814db6783b920ceab4cbdf6aa
parente9be313c11cb0eafd7fcd2800748ae80be95787f
prefer pthread-semaphores (posix API) with mingw

Hopefully this resolves glitches on hyperthreading machines.
Apart from using unnamed Semaphores, pthread-w32 includes additional locks
(guess: mem-barriers), a fallback implementation and windows-specific
tricks that I'd rather not want to know about :)
libs/pbd/pbd/semutils.h
libs/pbd/semutils.cc
wscript