korken89 / crect

A C++, compile-time, reactive RTOS for the Stack Resource Policy based Real-Time For the Masses kernel
Boost Software License 1.0
190 stars 21 forks source link

Add a way to have resources have state, store within crect #14

Open korken89 opened 6 years ago

korken89 commented 6 years ago

If resources can be considered to "live" inside crect, then there will not be need for any global structures, as is done in the blinky example right now. More or less, allocate all resources within crect and, generally, do not have resources take references but the type.