0f63d1135c
add a bitarray into struct osThreadDef_t to indicate whether the thread is used or not, then we can get the first available thread by searching this array when creating a new thread, and update this array to add a free thread when terminating a thread. Signed-off-by: Chen Peng1 <peng1.chen@intel.com> |
||
---|---|---|
.. | ||
cmsis_rtos_v1 | ||
cmsis_rtos_v2 | ||
CMakeLists.txt | ||
Kconfig |