26 #include "cmsis_os2.h" 27 #include "mbed_rtos1_types.h" 28 #include "mbed_rtos_storage.h" 30 #include "platform/NonCopyable.h" 31 #include "platform/ScopedLock.h" 32 #include "platform/mbed_toolchain.h" 79 Mutex
, "Replaced with lock(), trylock() and trylock_for() functions"
*name = NULL);
RAII-style mechanism for owning a lock of Lockable object for the duration of a scoped block...
Create and Initialize a Mutex object.
bool trylock_for(uint32_t millisec)
Try to lock the mutex for a specified time.
Wait until a Mutex becomes available.
RTOS primitives storage types for RTX.
Prevents generation of copy constructor and copy assignment operator in derived classes.
mbed::ScopedLock< Mutex > ScopedMutexLock
Typedef for the mutex lock.
bool trylock_until(uint64_t millisec)
Try to lock the mutex until specified time.
Unlock the mutex that has previously been locked by the same thread.
The Mutex class is used to synchronize the execution of threads.
The ConditionVariable class is a synchronization primitive that allows threads to wait until a partic...
Try to lock the mutex, and return immediately.
Get the owner the this mutex.