projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
position+width panning improvements (reverse width now works); relabel pan automation...
[ardour.git]
/
libs
/
ardour
/
ardour
/
graph.h
diff --git
a/libs/ardour/ardour/graph.h
b/libs/ardour/ardour/graph.h
index ec906455fe1c293a151f9940083ddefa6a93e022..bb51c992372ccda528396e7b1cf45678749a3fce 100644
(file)
--- a/
libs/ardour/ardour/graph.h
+++ b/
libs/ardour/ardour/graph.h
@@
-32,10
+32,11
@@
#include <cassert>
#include <pthread.h>
#include <cassert>
#include <pthread.h>
-#include <semaphore.h>
-#include <ardour/types.h>
-#include <ardour/session_handle.h>
+#include "pbd/semutils.h"
+
+#include "ardour/types.h"
+#include "ardour/session_handle.h"
namespace ARDOUR
{
namespace ARDOUR
{
@@
-97,10
+98,11
@@
class Graph : public SessionHandleRef
std::vector<GraphNode *> _trigger_queue;
pthread_mutex_t _trigger_mutex;
std::vector<GraphNode *> _trigger_queue;
pthread_mutex_t _trigger_mutex;
- sem_t _execution_sem;
- sem_t _callback_start_sem;
- sem_t _callback_done_sem;
- sem_t _cleanup_sem;
+ PBD::ProcessSemaphore _execution_sem;
+
+ PBD::ProcessSemaphore _callback_start_sem;
+ PBD::ProcessSemaphore _callback_done_sem;
+ PBD::ProcessSemaphore _cleanup_sem;
volatile gint _execution_tokens;
volatile gint _finished_refcount;
volatile gint _execution_tokens;
volatile gint _finished_refcount;