id summary reporter owner description type status milestone component version severity resolution keywords cc 11049 lockfree::spsc_queue read/write_available unsafe Nate C timblechmann "ringbuffer_base::read_available() and ringbuffer_base::write_available() both load write_index_ and read_index_ using relaxed memory order. read_available() should be used by the consumer, and thus should load write_index_ with memory_order_acquire. similarly, write_available() should be used by the producer, and thus should load read_index_ with memory_order_aquire. in addition, the comment for both functions is backwards, stating read_available() should only be called by the producer while write_available() should only be called by the consumer, which makes no sense. finally, the comment on front() is unclear in which thread is allowed to call it, but only the consumer can call front()" Bugs closed To Be Determined lockfree Boost 1.57.0 Problem fixed