wavelength 1.0.0
Loading...
Searching...
No Matches
synthlock.h
Go to the documentation of this file.
1#pragma once
2
3#include <kernel.h>
4
12class SynthLock {
13public:
20 static void Create();
21
28 static void Destroy();
29
37 static void Lock(const char *owner);
38
46 static void Unlock(const char *owner);
47
48private:
49 static int sSemaphore;
50 static SemaParam sSemaParam;
51};
The binary semaphore that stops the tick thread and the RPC server from entering the synthesiser at t...
Definition synthlock.h:12
static void Lock(const char *owner)
Wait for the semaphore and take it.
static void Unlock(const char *owner)
Give the semaphore back.
static void Create()
Create the semaphore, available.
static void Destroy()
Delete the semaphore.