10 years, 8 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

10 years, 8 months ago.

The RTOS page in the handbook has information including examples on all the things you mention apart from schedulers.

daniel k
poster
10 years, 8 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 ?

10 years, 6 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!