class Sync
Sync primitive class (CPU-side multithreading synchronization).
File location: framework/cauldron/framework/inc/misc/sync.h
Methods
Return type |
Description |
---|---|
int |
Inc ()
Increments the lock count on the sync primitive.
|
int |
Dec ()
Decrements the lock count on the sync primitive.
|
int |
Get ()
Gets the lock count on the sync primitive.
|
void |
Reset ()
Resets the lock count on the sync primitive.
|
void |
Wait ()
Waits until the lock count is 0 (or reset) on the sync primitive.
|
Detailed description
Sync primitive class (CPU-side multithreading synchronization).
Methods
Inc
Increments the lock count on the sync primitive.
Dec
Decrements the lock count on the sync primitive.
Get
Gets the lock count on the sync primitive.
Reset
Resets the lock count on the sync primitive.
Wait
Waits until the lock count is 0 (or reset) on the sync primitive.