mbed-os/platform/internal
Kevin Bracey f9f887d88e mbed_atomic_impl.h: Add pre-op (xxx_fetch) forms
Even though C/C++11 don't offer pre-op forms (that do the operation then
return the new value) of their freestanding functions, we will be making
them visible via pre-op operators on `Atomic<T>` (++, --, +=, -=, &=,
|=, ^=).

It is easier to do a pre-op than a post-op, as we can use one
fewer register in the assembler, so it's worth optimising for what will
be quite common cases. Make these forms accessible for `Atomic<T>`, but
don't document them for standalone use at this stage.
2019-07-09 19:09:02 +03:00
..
mbed_atomic_impl.c Assembler atomics 2019-04-26 13:12:35 +03:00
mbed_atomic_impl.h mbed_atomic_impl.h: Add pre-op (xxx_fetch) forms 2019-07-09 19:09:02 +03:00