Searched refs:lastWritePos (Results 1 – 1 of 1) sorted by relevance
32 static unsigned long long lastWritePos = 0; in writeMessage() local44 size_t wrappedWritePos = lastWritePos % messageBufferSize; in writeMessage()48 lastWritePos += tailLen; in writeMessage()53 lastWritePos += messageLen; in writeMessage()54 messagesLastWritePosition.store(lastWritePos); in writeMessage()70 unsigned long long lastWritePos = messagesLastWritePosition.load(); in getRecentMessagesForJava() local71 if (lastWritePos - lastReadPos > messageBufferSize) { in getRecentMessagesForJava()74 lastReadPos = lastWritePos; in getRecentMessagesForJava()77 if (lastWritePos == lastReadPos) return result; in getRecentMessagesForJava()78 if (lastWritePos / messageBufferSize == lastReadPos / messageBufferSize) { in getRecentMessagesForJava()[all …]