A kernel semaphore optimized for consumer/producer.
More...
#include <semaphore.h>
Private Attributes |
unsigned | _sm |
Detailed Description
A kernel semaphore optimized for consumer/producer.
Constructor & Destructor Documentation
KernelSemaphore::KernelSemaphore |
( |
unsigned |
cap_sm = 0 , |
|
|
bool |
create = false |
|
) |
| |
|
inlineexplicit |
Member Function Documentation
void KernelSemaphore::down |
( |
| ) |
|
|
inline |
void KernelSemaphore::downmulti |
( |
| ) |
|
|
inline |
unsigned KernelSemaphore::sm |
( |
| ) |
|
|
inline |
unsigned KernelSemaphore::up |
( |
bool |
panic = true | ) |
|
|
inline |
Member Data Documentation
unsigned KernelSemaphore::_sm |
|
private |
The documentation for this class was generated from the following file: