Applications need to be able to enter critical sections in order to safely mutate global variables (we might have signal handlers running under interrupt context, for example).
Add an API for acquire and release which the SDK can use to implement the critical-section crate.
Applications need to be able to enter critical sections in order to safely mutate global variables (we might have signal handlers running under interrupt context, for example).
Add an API for
acquireandreleasewhich the SDK can use to implement thecritical-sectioncrate.