![]() |
RTEMS 7.0-rc1
|
Implementation of GCC Atomic Helper. More...
Functions | |
| bool | __atomic_test_and_set (volatile void *mem, int access) |
Implementation of GCC Atomic Helper.
This implementation is used on BSPs with older cores which do not have atomic instructions. If the CPU core has atomic instructions, GCC will do the right thing.
https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html describes the interface for __atomic_test_and_set with the *mem being precisely one byte.