ring-span-lite icon indicating copy to clipboard operation
ring-span-lite copied to clipboard

Atomic push/pop

Open liarokapisv opened this issue 5 years ago • 0 comments

Are ring-span's push/pop safe for unsynchronized consumer/producer scenarios? Does it even make sense to support such functionality given ring-span's domain (eg by using a policy) or does it make sense to write a wrapper on top of it to provide atomicity? On the top of my head writing a lock-free wrapper on top of ring-span does not seem possible. Modifying ring-span should be more straightforward in comparison. Then again the iterator-based functionality may not be suitable for such usage so maybe this should be out of scope.

liarokapisv avatar Feb 21 '20 12:02 liarokapisv