4 ms·
If you found this interesting, you may also like the really clean implementation of a single-producer single-consumer lock-free queue in Facebook's folly C++ li
by ajtulloch 14y ago
If you found this interesting, you may also like the really clean implementation of a single-producer single-consumer lock-free queue in Facebook's folly C++ library.
https://github.com/facebook/folly/blob/master/folly/ProducerConsumerQueue.h https://github.com/facebook/folly/blob/master/folly/Producer... (code)
https://github.com/facebook/folly/blob/master/folly/docs/ProducerConsumerQueue.md https://github.com/facebook/folly/blob/master/folly/docs/Pro... (docs)