Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SmartLight HelloThreadsYo
MutexLocker Class Reference
Lock/Unlock Mutex using variable scope. More...
#include <mutexlocker.h>
Public Member Functions | |
| MutexLocker (Mutex &mutex) | |
| Lock the mutex. | |
| ~MutexLocker () | |
| Unlocks on destruction. | |
Detailed Description
Lock/Unlock Mutex using variable scope.
Ensures always unlocked regardless of method exit
Definition at line 13 of file mutexlocker.h.
Constructor & Destructor Documentation
| MutexLocker | ( | Mutex & | mutex ) |
Lock the mutex.
Definition at line 17 of file mutexlocker.h.
| ~MutexLocker | ( | ) |
Unlocks on destruction.
Definition at line 22 of file mutexlocker.h.
Generated on Wed Jul 20 2022 20:53:50 by
1.7.2