mbed-os/rtos
Russ Butler 55d74c55ed Fix join and make Thread class thread safe
Add a mutex to the thread object to protect its internal data. Prevent
making OS calls with a thread ID that has been terminated. This thread
ID can be reused by another thread, leading to undefined behavior if it
is used after termination.

Update the function Thread::join to use a semaphore to
determine when the thread finishes. This both avoids polling and
prevents a freed TCB from being accessed.
2016-08-02 21:17:40 -05:00
..
rtos Fix join and make Thread class thread safe 2016-08-02 21:17:40 -05:00
rtx Merge pull request #2211 from pan-/nrf52_nrf51_unified_integration 2016-07-27 02:35:43 -05:00
mbed_lib.json RTOS - add config mbed_lib.json file 2016-06-08 18:41:29 +01:00