Expand description
Memory safe access to shared resources
In RTFM, locks are implemented as critical sections that prevent other tasks from starting. These critical sections are implemented by temporarily increasing the dynamic priority (see BASEPRI) of the current context. Entering and leaving these critical sections is always done in constant time (a few instructions).