![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
A Semaphore object. Semaphores are a synchronization primitive that can be used to insert a dependency between queue operations (GPU/GPU synchronization)
Manual page : Semaphores
Public Member Functions | |
Semaphore (const SemaphoreType type) | |
auto | getType () const |
auto | getValue () const |
void | setValue (const uint64_t value) |
void | incrementValue () |
void | decrementValue () |
virtual | ~Semaphore () = default |
Semaphore (const Semaphore &) = delete | |
Semaphore & | operator= (const Semaphore &) = delete |
Protected Attributes | |
const SemaphoreType | type |
uint64_t | value {0} |
|
inline |
|
virtualdefault |
|
delete |
|
inline |
Decrements the current integer value of the semaphore (the value that will be used in the next wait or signal command)
|
inline |
Return the type of the semaphore
|
inline |
Returns the current integer value of the semaphore (the value that will be used in the next wait or signal command)
|
inline |
Increments the current integer value of the semaphore (the value that will be used in the next wait or signal command)
|
delete |
|
inline |
Sets the current integer value of the semaphore (the value that will be used in the next wait or signal command)
|
protected |
|
protected |