Skip to content

Commit

Permalink
front <-> tail in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Claus-Justus Heine authored and Claus-Justus Heine committed Jun 30, 2020
1 parent 452ae29 commit 1c960d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readerwriterqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -727,10 +727,10 @@ class ReaderWriterQueue
}

private:
weak_atomic<Block*> frontBlock; // (Atomic) Elements are enqueued to this block
weak_atomic<Block*> frontBlock; // (Atomic) Elements are dequeued from this block

char cachelineFiller[MOODYCAMEL_CACHE_LINE_SIZE - sizeof(weak_atomic<Block*>)];
weak_atomic<Block*> tailBlock; // (Atomic) Elements are dequeued from this block
weak_atomic<Block*> tailBlock; // (Atomic) Elements are enqueued to this block

size_t largestBlockSize;

Expand Down

0 comments on commit 1c960d8

Please sign in to comment.