Home
last modified time | relevance | path

Searched refs:writePtr (Results 1 – 1 of 1) sorted by relevance

/system/libfmq/include/fmq/
DMessageQueue.h998 auto writePtr = mWritePtr->load(std::memory_order_relaxed); in beginWrite() local
999 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()
1036 auto writePtr = mWritePtr->load(std::memory_order_relaxed); in commitWrite() local
1037 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() local
1087 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 …]