On Thu, Apr 12, 2018 at 12:56 PM, Ruediger Pluem <rpl...@apache.org> wrote: > > > Other options: > > 2. Reverse the order in the ring when apr_reslist_fifo_set is called. > > Of course both options require a lock.
Here's an odd idea. What if the *traversal* were reversed based on the lifo bit, and the structure itself remained static? 3. Interpret the fifo/lifo flag as an insertion mechanic, so previous fifo items are returned in original sequence, once all later lifo items are retrieved.