Nut/OS  4.10.3
API Reference
_MUTEX Struct Reference

Recursive mutex. More...

#include <sys/mutex.h>

Collaboration diagram for _MUTEX:

Data Fields

HANDLE qhp
 Queue to wait, if mutex is not free.
NUTTHREADINFOthread
 Thread who owns the mutex.
uint16_t count
 Lock counter.

Detailed Description

Recursive mutex.

Definition at line 82 of file mutex.h.


Field Documentation

Queue to wait, if mutex is not free.

Definition at line 83 of file mutex.h.

Referenced by NutMutexInit(), NutMutexLock(), and NutMutexUnlock().

Thread who owns the mutex.

Definition at line 84 of file mutex.h.

Referenced by NutMutexDestroy(), NutMutexInit(), NutMutexLock(), NutMutexTrylock(), and NutMutexUnlock().

Lock counter.

Definition at line 85 of file mutex.h.

Referenced by NutMutexDestroy(), NutMutexInit(), NutMutexLock(), NutMutexTrylock(), and NutMutexUnlock().


The documentation for this struct was generated from the following file: