Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
As a firmware developer, I can specify code is executed without being interrupted #758
For critical but long-ish bits of application code it would be useful to temporarily elevate the priority of the current thread.
We have the CriticalSection RAII class, which stops thread scheduling but does't prevent interrupts. That would seem to cater for this need without having to juggle priorities?
I'm not entirely happy with my initially calling this
I can envisage a family of
I'd also like to make sure that whatever we use can be easily migrated to the Wiring++ API (or that we use Wiring++ spec from the start.)