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.