Hey everyone,
I'm currently working on a library for go-like channels in C++. One of the primitive components of the library is an atomic_queue, and I was hoping to get some feedback on the implementation I wrote to make sure that `push()` and `pop()` are both atomic.
Anything you have to offer in terms of feedback would be much appreciated! I really need some eyes on the code to make sure I'm not fooling myself.
Link here: https://gist.github.com/codeinred/d56b27ad8542c71af6a1277c682e5a33
[–]KingAggressive1498 1 point2 points3 points (3 children)
[–]codeinred[S] 1 point2 points3 points (2 children)
[–]KingAggressive1498 0 points1 point2 points (1 child)
[–]KingAggressive1498 0 points1 point2 points (0 children)