Nut/OS  4.10.3
API Reference
mutex.c File Reference
#include <sys/nutdebug.h>
#include <sys/mutex.h>
#include <sys/event.h>
Include dependency graph for mutex.c:

Go to the source code of this file.

Functions

void NutMutexInit (MUTEX *mutex)
 Create a mutex.
void NutMutexLock (MUTEX *mutex)
 Lock a mutex.
int NutMutexTrylock (MUTEX *mutex)
 Attempt to lock a mutex without blocking.
int NutMutexUnlock (MUTEX *mutex)
 Unlock a mutex.
int NutMutexDestroy (MUTEX *mutex)
 Free resources allocated for a mutex.