Add AtomicIntrusiveLinkedList::reverseSweep()
Summary: In D4558451 I want to pull elements off an atomic list onto a thread-local (single-consumer) vector and pop to get elements in insertion order. A sweep that provides elements in LIFO order will avoid a redundant pair of list reversals. Reviewed By: nbronson Differential Revision: D4564816 fbshipit-source-id: 38cf50418e6afe0be3eec96ce85d571c65f06d7e
Showing
Please register or sign in to comment