Go to the source code of this file.
Data Structures | |
| struct | _SEM |
| Semaphore. More... | |
Typedefs | |
| typedef struct _SEM | SEM |
| Sempahore type. | |
Functions | |
| void | NutSemInit (SEM *sem, short value) |
| Initialize an unnamed semaphore to value. | |
| void | NutSemWait (SEM *sem) |
| Lock a semaphore. | |
| int | NutSemTryWait (SEM *sem) |
| Attempt to lock a semaphore without blocking. | |
| void | NutSemPost (SEM *sem) |
| Unlock a sempahore. | |
| int | NutSemDestroy (SEM *sem) |
| Free resources allocated for a semaphore. | |