Public Attributes | List of all members
RTT::internal::AtomicMWSRQueue< T >::SIndexes Union Reference

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 77 of file AtomicMWSRQueue.hpp.

Member Data Documentation

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

Definition at line 80 of file AtomicMWSRQueue.hpp.

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

Definition at line 79 of file AtomicMWSRQueue.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46