Home
last modified time | relevance | path

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

/system/libfmq/include/fmq/
DMessageQueue.h1070 auto readPtr = mReadPtr->load(std::memory_order_relaxed); in beginRead() local
1072 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()
1081 if (writePtr - readPtr < nBytesDesired) { in beginRead()
1085 size_t readOffset = readPtr % mDesc->getSize(); in beginRead()
1121 auto readPtr = mReadPtr->load(std::memory_order_relaxed); in commitRead() local
1127 if (writePtr - readPtr > mDesc->getSize()) { in commitRead()
1133 readPtr += nBytesRead; in commitRead()
1134 mReadPtr->store(readPtr, std::memory_order_release); in commitRead()