CMSIS RTOS Multiple thread instances of the same function

30 Jun 2013

Hi this is a suggestion. I noticed that the mbed-rtos library does not support multiple thread instances of the same function. It also does not support dynamic thread creation. I made a small, but very efficient, library that allows creation of MAX thread instances of the same (or different) function. It uses dynamic memory allocation and it reuses the memory after a thread is inactive. I think it will be a good idea to implement this into the mbed-rtos library. Here is the link to my library and program http://mbed.org/users/lemniskata/code/MutliThread/ .