Skip to content

Disordered output from FIFO queue #37

@AdjWang

Description

@AdjWang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions