typedef ThreadSafeDeque< T >::ValueType ValueType
ThreadSafeFreeList< Node > & mFreeList
Link to the freelist that the node has been allocated from.
Thread claim flag.
This is to prevent two threads who concurrently do a tryPopFront() and tryPopBack() respectively on a deque with just a single node to both claim and return the same value (which would happen without the flag as otherwise both threads would use two different deletion bits for claiming the node).
Reference to next node and deletion bit.
Reference to previous node and deletion bit.
Value contained in the node.