Add PBD::GlibSemaphore class that uses PBD::atomic_counter etc.

PBD::Semaphore can really be used instead of this class now,
but it didn't exist when I needed this class and it is header only, which
causes some problems because windows.h is included
This commit is contained in:
Paul Davis 2013-07-11 14:38:53 -04:00
parent 57f3ba6a1f
commit 29f178aa4b
3 changed files with 125 additions and 0 deletions

View file

@ -49,6 +49,7 @@ libpbd_sources = [
'file_manager.cc',
'file_utils.cc',
'fpu.cc',
'glib_semaphore.cc',
'id.cc',
'locale_guard.cc',
'malign.cc',