Scheduler.h is a C++ threads implementation for embedded devices, implemented as a single header. See toaster.llc/blog/scheduler for more info.