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.
5 years, 7 months ago.
Parallel programming
How do you run two operations in parallel
1 Answer
5 years, 7 months ago.
It depends on what you want to do.
Option 1: Run an OS like mbed-os and run multiple threads.
Option 2: Run a single thread and use interrupts / timers to run specific functions when needed.
Which is best depends on what you are trying to do.