work-stealing-queue
work-stealing-queue copied to clipboard
bug:some data in the queue cannot be obtained
When multiple threads call push, pop, and steal of WorkStealingQueue at the same time, some data in the queue cannot be obtained due to the maintenance of _top and _bottom
The WorkStealingQueue is a single-producer multiple-consumer queue. Only one thread can call push and pop, while steal can be called by multiple threads.