ChibiOS/RT  6.0.3
chmtx.c File Reference

Mutexes code. More...

#include "ch.h"

Go to the source code of this file.

Functions

void chMtxObjectInit (mutex_t *mp)
 Initializes s mutex_t structure. More...
 
void chMtxLock (mutex_t *mp)
 Locks the specified mutex. More...
 
void chMtxLockS (mutex_t *mp)
 Locks the specified mutex. More...
 
bool chMtxTryLock (mutex_t *mp)
 Tries to lock a mutex. More...
 
bool chMtxTryLockS (mutex_t *mp)
 Tries to lock a mutex. More...
 
void chMtxUnlock (mutex_t *mp)
 Unlocks the specified mutex. More...
 
void chMtxUnlockS (mutex_t *mp)
 Unlocks the specified mutex. More...
 
void chMtxUnlockAllS (void)
 Unlocks all mutexes owned by the invoking thread. More...
 
void chMtxUnlockAll (void)
 Unlocks all mutexes owned by the invoking thread. More...
 

Detailed Description

Mutexes code.

Definition in file chmtx.c.