Home
last modified time | relevance | path

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

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer.cc260 Reader* slowest_reader = &GetSlowestReader(); in Dering() local
261 if (slowest_reader->read_idx == 0) { in Dering()
267 buffer_span.begin() + slowest_reader->read_idx, in Dering()
272 if (write_idx_ < slowest_reader->read_idx) { in Dering()
275 write_idx_ -= slowest_reader->read_idx; in Dering()
278 if (&reader == slowest_reader) { in Dering()
281 if (reader.read_idx < slowest_reader->read_idx) { in Dering()
284 reader.read_idx -= slowest_reader->read_idx; in Dering()
287 slowest_reader->read_idx = 0; in Dering()