mirror of https://github.com/ARMmbed/mbed-os.git
`Mutex::unlock` was decrementing the `_count` member after releasing the mutex, which meant it was unprotected, exposing a race that could corrupt the count. This could lead to an assert in `ConditionVariable::wait`, which checks that the mutex count is one. |
||
|---|---|---|
| .. | ||
| TARGET_CORTEX | ||
| ConditionVariable.cpp | ||
| EventFlags.cpp | ||
| Kernel.cpp | ||
| Mutex.cpp | ||
| Semaphore.cpp | ||
| ThisThread.cpp | ||
| Thread.cpp | ||
| rtos_handlers.h | ||
| rtos_idle.h | ||