Closed haicoder closed 3 years ago
According to the implementation.
Enqeue:
Dequeue:
Dose this work?
Thank you.
No! If there are more threads than there are slots in the queue it wouldn't work. So best to avoid that limitation.
According to the implementation.
Enqeue:
Dequeue:
Dose this work?
Thank you.