goconcurrentqueue icon indicating copy to clipboard operation
goconcurrentqueue copied to clipboard

Disordered output from FIFO queue

Open AdjWang opened this issue 2 years ago • 1 comments

Code here: 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 exited.

AdjWang avatar Jul 26 '23 09:07 AdjWang

Hi @AdjWang,

I'm going to check your code ASAP.

enriquebris avatar Jul 27 '23 05:07 enriquebris