goque icon indicating copy to clipboard operation
goque copied to clipboard

Fixed race condition

Open telemac opened this issue 4 years ago • 0 comments

I have one goroutine that enqueues, and another that dequeues.

When running my tests I have a race condition. The changes I made should solve the problem.

Thank you for your work.

telemac avatar Apr 03 '20 14:04 telemac