iceoryx2 icon indicating copy to clipboard operation
iceoryx2 copied to clipboard

Introduce `atomic` type for iceoryx

Open elfenpiff opened this issue 2 months ago • 0 comments

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

elfenpiff avatar Apr 19 '24 15:04 elfenpiff