ChibiOS/RT Architecture - Reference Manual - Guides |
Mutexes code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
void | chMtxInit (Mutex *mp) |
Initializes s Mutex structure. | |
void | chMtxLock (Mutex *mp) |
Locks the specified mutex. | |
void | chMtxLockS (Mutex *mp) |
Locks the specified mutex. | |
bool_t | chMtxTryLock (Mutex *mp) |
Tries to lock a mutex. | |
bool_t | chMtxTryLockS (Mutex *mp) |
Tries to lock a mutex. | |
Mutex * | chMtxUnlock (void) |
Unlocks the next owned mutex in reverse lock order. | |
Mutex * | chMtxUnlockS (void) |
Unlocks the next owned mutex in reverse lock order. | |
void | chMtxUnlockAll (void) |
Unlocks all the mutexes owned by the invoking thread. |
Mutexes code.
Definition in file chmtx.c.