SPSCQueue icon indicating copy to clipboard operation
SPSCQueue copied to clipboard

Non-blocking push?

Open OrangeDog opened this issue 1 year ago • 1 comments

It it possible to tweak this such that the push methods do not block when full, but instead pop from the other end like a classic ring buffer?

If it requires significant changes, perhaps you could publish that separately?

OrangeDog avatar Jul 22 '24 14:07 OrangeDog

I dont think this is possible without severely compromising performance or introducting a race condition

kallala avatar May 30 '25 22:05 kallala