Searched refs:queueSize (Results 1 – 1 of 1) sorted by relevance
135 bool fullQueueReaderShouldRead(int queueSize, int totalReads) { in fullQueueReaderShouldRead() argument136 if (queueSize == 0) { in fullQueueReaderShouldRead()139 int totalWrites = totalReads + queueSize; in fullQueueReaderShouldRead()140 return queueSize == FULL_QUEUE_CAPACITY || totalWrites == FULL_QUEUE_EVENT_COUNT; in fullQueueReaderShouldRead()