The binary semaphore that stops the tick thread and the RPC server from entering the synthesiser at the same time.
More...
#include <synthlock.h>
|
| static void | Create () |
| | Create the semaphore, available.
|
| static void | Destroy () |
| | Delete the semaphore.
|
| static void | Lock (const char *owner) |
| | Wait for the semaphore and take it.
|
| static void | Unlock (const char *owner) |
| | Give the semaphore back.
|
The binary semaphore that stops the tick thread and the RPC server from entering the synthesiser at the same time.
The class has no RTTI, and its name is inferred from its role. Every member is static. Lock() and Unlock() take the name of the holder for debugging, and ignore it.
◆ Create()
| void SynthLock::Create |
( |
| ) |
|
|
static |
Create the semaphore, available.
- Ghidra address:
- NTSC-U/C: 0x00005d30
- Ghidra address:
- PAL: 0x00005d30
◆ Destroy()
| void SynthLock::Destroy |
( |
| ) |
|
|
static |
Delete the semaphore.
- Ghidra address:
- NTSC-U/C: 0x00005d70
- Ghidra address:
- PAL: 0x00005d70
◆ Lock()
| void SynthLock::Lock |
( |
const char * | owner | ) |
|
|
static |
Wait for the semaphore and take it.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00005d98
- Ghidra address:
- PAL: 0x00005d98
◆ Unlock()
| void SynthLock::Unlock |
( |
const char * | owner | ) |
|
|
static |
Give the semaphore back.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00005dc0
- Ghidra address:
- PAL: 0x00005dc0
The documentation for this class was generated from the following file: