|
Base Module
VST 3.6.5
SDK for developing VST Plug-in
|
Semaphore. More...
#include <fthread.h>
Public Member Functions | |
| FSemaphore (int32 initialCount, const char8 *name) | |
| FSemaphore constructor. More... | |
| ~FSemaphore () | |
| FSemaphore destructor. More... | |
| bool | verify () |
| Verifies semaphore. More... | |
| bool | acquire (int32 millisecondsTimeOut=-1) |
| Acquires semaphore. More... | |
| void | release (int32 count=1) |
| Releases semaphore. More... | |
Semaphore.
| FSemaphore | ( | int32 | initialCount, |
| const char8 * | name | ||
| ) |
FSemaphore constructor.
| initialCount | initial count for this semaphore |
| name | name of semaphore (unused !!!) |
| ~FSemaphore | ( | ) |
FSemaphore destructor.
| bool verify | ( | ) |
Verifies semaphore.
| bool acquire | ( | int32 | millisecondsTimeOut = -1 | ) |
Acquires semaphore.
| millisecondsTimeOut | time out, -1 means infinite, 0 means never locks, ms |
| void release | ( | int32 | count = 1 | ) |
Releases semaphore.
| count | how many? |