Mistake on this page?
Report an issue in GitHub or email us
Modules | Namespaces | Typedefs


 ConditionVariable class
 EventFlags class
 Mail class
 MemoryPool class
 Mutex class
 Queue class
 RtosTimer class
 Semaphore class
 ThisThread namespace
 Thread class


 Functions in the Kernel namespace control RTOS kernel information.


typedef mbed::ScopedLock< Mutex > ScopedMutexLock
 Typedef for the mutex lock. More...

Detailed Description

Typedef Documentation

typedef mbed::ScopedLock<Mutex> ScopedMutexLock

Typedef for the mutex lock.


void foo(Mutex &m) {
ScopedMutexLock lock(m);
// Mutex lock protects code in this block

Definition at line 38 of file Mutex.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.