Searched refs:write_head_ (Results 1 – 2 of 2) sorted by relevance
34 : read_head_(0), write_head_(0), buffer_size_(buffer_size), buffer_(new char[buffer_size]) { in RecordBuffer()38 size_t write_head = write_head_.load(std::memory_order_relaxed); in GetFreeSize()48 size_t write_head = write_head_.load(std::memory_order_relaxed); in AllocWriteSpace()73 size_t write_head = write_head_.load(std::memory_order_relaxed); in FinishWrite()75 write_head_.store(write_head, std::memory_order_release); in FinishWrite()79 size_t write_head = write_head_.load(std::memory_order_acquire); in GetCurrentRecord()
58 std::atomic_size_t write_head_; variable