4
votes
2answers
1k views

atomic_queue - thread-safe and lock-free implementation of the FIFO data structure pattern

please review my implementation of a FIFO data structure that guarantees thread-safe access without locking. I removed the license header block and all Doxygen comments. The original version (along ...
2
votes
5answers
708 views

Bounded blocking queue

Can someone please review this code for me. I have not implemented all the methods for simplicity. Original code: /** * Implements a blocking bounded queue from a given non-blocking unbounded queue ...