goconcurrentqueue
goconcurrentqueue copied to clipboard
Go concurrent-safe, goroutine-safe, thread-safe queue
getting this error thrown... except I only have a maximum of 3 waiters This is how I dequeue - is there a problem with timing out and rechecking? Does that...
Code here: [https://go.dev/play/p/FZMhfuOolps](https://go.dev/play/p/FZMhfuOolps) I ran it 10 times and 4 times reported disordered. Example abnormal output: ``` panic: disordered result: 449, expected: 448 goroutine 1 [running]: main.main() /tmp/sandbox1192096132/prog.go:58 +0x3d6 Program...
It would be very useful to have a method that allowed one to enque and not error if the queue is locked. Instead it should wait for it to unlock...