Versie 0.2 Het versturen via de NRF werkt nog niet helemaal omdat er per 4 bytes verstuurd moet worden. Wordt gefixt d.m.v. dynamic stuff!
Dependencies: BufferedSerial
Dependents: rtos_basic rtos_basic
Fork of mbed-rtos by
Mutex Class Reference
The Mutex class is used to synchronise the execution of threads. More...
#include <Mutex.h>
Public Member Functions | |
Mutex () | |
Create and Initialize a Mutex object. | |
osStatus | lock (uint32_t millisec=osWaitForever) |
Wait until a Mutex becomes available. | |
bool | trylock () |
Try to lock the mutex, and return immediately. | |
osStatus | unlock () |
Unlock the mutex that has previously been locked by the same thread. |
Detailed Description
The Mutex class is used to synchronise the execution of threads.
This is for example used to protect access to a shared resource.
Definition at line 33 of file Mutex.h.
Constructor & Destructor Documentation
Member Function Documentation
osStatus lock | ( | uint32_t | millisec = osWaitForever ) |
bool trylock | ( | ) |
Generated on Thu Jul 14 2022 17:57:08 by 1.7.2