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.
11 years, 11 months ago.
mbed RTOS thread, queue, mail, memory pool
New to mbed RTOS, Can I create multiple threads and using queue and mail and memory pool and semaphore and mutex and scheduler in a program ? Have not seen any examples in this site before.
3 Answers
11 years, 11 months ago.
The RTOS page in the handbook has information including examples on all the things you mention apart from schedulers.
11 years, 11 months ago.
Thanks for your response, I did read this mabed RTOS page and confused.
Can I create multiple threads and using queue and mail and memory pool and semaphore and mutex and scheduler in a program ?
11 years, 10 months ago.
Yes.
"void main()" is already a thread, and you can create more at runtime as described in the RTOS handbook page.
The others are simply various types of inter-thread communication.
If you give an example of what you'd like to do then perhaps somebody can make specific suggestions on how to do that, which you'll find more useful!