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.
9 years ago.
Is mbed based on event driven model or multi-threaded model
Hi everyone,
I'm planning to use mbed for my thesis project but first I wanted to know whether mbed is based on event driven model or multi-threaded model. After a quick search I found out that the new mbed OS has "single-threaded, event driven architecture" https://www.mbed.com/en/development/software/mbed-os/
But what about the older one?
I'll be really grateful if someone can give me any information in this regard.
Thank you
1 Answer
9 years ago.
If you mean RTOS, see this page: https://developer.mbed.org/handbook/RTOS (I have no idea which one it would be of your options).
However if you don't use RTOS, it just does what you tell it to do. In principle there is only a single thread, the main functions. However interrupts can interrupt this.