TcMenu / TaskManagerIO

A task, event, scheduling, and interrupt marshalling library for Arduino and mbed boards.
Apache License 2.0
124 stars 14 forks source link

Small spin lock improvements for multi threaded/multi core boards. #28

Closed davetcc closed 3 years ago

davetcc commented 3 years ago

A couple of small fixes to make SpinLock work better when used on multi-core machines, keeping track of the thread of execution as well as the task details. This allows for use not only within task manager but safely on more than one core.