I'm not very knowledgeable about lock-free data structures; would it be possible to provide a draining iterator that yields all items that exist at the time it is constructed?
It would require exclusive mutable access to the slab, similar to the existing Slab::unique_iter method. But, we could potentially provide something like that.
I'm not very knowledgeable about lock-free data structures; would it be possible to provide a draining iterator that yields all items that exist at the time it is constructed?