Loading...
Searching...
No Matches
critical_section Struct Reference

Critical section instance. More...

#include <critical_section.h>

Data Fields

spin_lock_t * spin_lock
 Spin lock used to prevent concurrent access from the other core.
uint32_t save
 Saved interrupt state, restored on exit.

Detailed Description

Critical section instance.

Structure holding the state for a single critical section, including the associated spin lock and the saved interrupt state.


The documentation for this struct was generated from the following file: