Standard_atomic_ops

Website:

https://github.com/pat-rogers/standard_atomic_ops

Author:
  • AdaCore
Maintainer:
  • Pat Rogers <progers@classwide.com>
License:

GPL-3.0-or-later WITH GCC-exception-3.1

Version:

1.0.0

Alire CI:

Dependencies:

No dependency.

Dependents:

No dependents.

Badge:

Language-defined atomic operation packages for GNAT runtimes.

#atomic #standard #runtime

This crate supplies the GNAT source files for the Ada 2022 language-defined units for atomic operations:

  • System.Atomic_Operations
  • System.Atomic_Operations.Exchange
  • System.Atomic_Operations.Modular_Arithmetic
  • System.Atomic_Operations.Integer_Arithmetic

They are provided for use with those bare-board GNAT runtimes that do not (yet) include them, for example Arm-elf (the only target tested to date). The sources here are verbatim copies taken from a native runtime. As such, the implementations are GNAT-specific so their use with other compilers will not work. Once the shipped GNAT runtimes include them you can simply remove any references to this crate. Note that the license includes the GCC Runtime Library Exception.