Public Attributes
RTT::internal::AtomicMWSRQueue< T >::SIndexes Union Reference

List of all members.

Public Attributes

unsigned short _index [2]
unsigned long _value

Detailed Description

template<class T>
union RTT::internal::AtomicMWSRQueue< T >::SIndexes

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.

Member Data Documentation

template<class T>
unsigned short RTT::internal::AtomicMWSRQueue< T >::SIndexes::_index[2]

Definition at line 79 of file AtomicMWSRQueue.hpp.

template<class T>
unsigned long RTT::internal::AtomicMWSRQueue< T >::SIndexes::_value

Definition at line 78 of file AtomicMWSRQueue.hpp.

The documentation for this union was generated from the following file:

Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:38