Skip to content

Add critical-section API #106

Description

@thejpster

Applications and the OS 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 OS can use to implement the critical-section crate, and re-export to applications.

See also Neotron-Compute/Neotron-Common-BIOS#51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions