Out of date: This is not the most recent version of this page. Please see the most recent version
The task management APIs handle creation and destruction of threads in mbed OS 5, as well as mechanisms for safe interthread communication. Threads are a core component of mbed OS 5 (even your
main function starts in a thread of its own), so understanding how to work with them is an important part of developing applications for mbed OS 5. Pay particular attention to the interrupt service routines section, which contains important information about how the task management APIs can be used from an interrupt handler.