Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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/ .