Public Attributes | |
unsigned short | _index [2] |
unsigned long | _value |
Both read and write pointer are in a union. This means a read's cas may fail because a write happened (preemption). An implementation with 2 distinct read/write pointers would not suffer from this.
Definition at line 76 of file AtomicMWSRQueue.hpp.
unsigned short RTT::internal::AtomicMWSRQueue< T >::SIndexes::_index[2] |
Definition at line 79 of file AtomicMWSRQueue.hpp.
unsigned long RTT::internal::AtomicMWSRQueue< T >::SIndexes::_value |
Definition at line 78 of file AtomicMWSRQueue.hpp.