iceoryx2
iceoryx2 copied to clipboard
Introduce `atomic` type for iceoryx
Brief feature description
Our Atomic*
strategy has currently the problems that:
- on 32-bit
AtomicU64
is not available, not even with a mutex like in the C++ STL - cannot be tested with loom
- that all atomic do not support other types with the same alignment/size that are not provided by the default types
- they cannot be overloaded for advanced error handling strategies like fail in a compare-exchange loop
The new atomic shall be exchangeable via feature flags.
ToDo
- [x] Implement atomic
- [ ] add feature flag
- [ ] Integrate atomic in iceoryx so that everything uses the atomic