diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-10 20:20:10 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-10 20:20:10 +0100 |
commit | e32591388a18c8226e61b8f88b031ed7c88ca153 (patch) | |
tree | 999f6653d0cfac3153679a8352c28f4e92805306 /synth/communication.cpp | |
parent | b34cab5dd6d4ac16a6a58589397a3d82df38b826 (diff) |
Improved in-synth-cli, still TODO
The CLI can now prepare loading a note without actually loading it
Diffstat (limited to 'synth/communication.cpp')
-rw-r--r-- | synth/communication.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/synth/communication.cpp b/synth/communication.cpp new file mode 100644 index 0000000..f21e46f --- /dev/null +++ b/synth/communication.cpp @@ -0,0 +1,16 @@ +#include "communication.h" + +pthread_mutex_t suspend_request_mutex; +suspend_request_t suspend_request; + +void init_communication() +{ + pthread_mutex_init(&suspend_request_mutex, NULL); + + suspend_request.done=true; +} + +void uninit_communication() +{ + pthread_mutex_destroy(&suspend_request_mutex); +} |