Optimize the work item enqueue-dequeue functions, correct a little problem in drain_gray_stack