semaphore.c File Reference

Go to the source code of this file.

Functions

void NutSemInit (SEM *sem, short value)
 Initialize an unnamed semaphore to value.
void NutSemWait (SEM *sem)
 Lock a semaphore.
void NutSemPost (SEM *sem)
 Unlock a sempahore.
int NutSemTryWait (SEM *sem)
 Attempt to lock a semaphore without blocking.
int NutSemDestroy (SEM *sem)
 Free resources allocated for a semaphore.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/