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.
How do mbed libraries do threading/preemption?
Example
main() does an infinite loop with a while(1) {}; But the user's Timer function is called at the proper time. Probably not called directly by the interrupt handler, else chaos.
Is there some sort of underlying thread manager? Perhaps a single-stack scheduler like Protothreads or equivalent?