Searched refs:writePtr (Results 1 – 1 of 1) sorted by relevance
998 auto writePtr = mWritePtr->load(std::memory_order_relaxed); in beginWrite() local999 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()1036 auto writePtr = mWritePtr->load(std::memory_order_relaxed); in commitWrite() local1037 writePtr += nBytesWritten; in commitWrite()1038 mWritePtr->store(writePtr, std::memory_order_release); in commitWrite()1080 auto writePtr = mWritePtr->load(std::memory_order_acquire); in beginRead() local1087 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()1088 mReadPtr->store(writePtr, std::memory_order_release); in beginRead()1096 if (writePtr - readPtr < nBytesDesired) { in beginRead()1137 auto writePtr = mWritePtr->load(std::memory_order_acquire); in commitRead() local[all …]