Is this a naive blocking queue?

前端 未结 0 1714
无人及你
无人及你 2021-01-15 03:40

Is the following a correct implementation of a blocking queue ?

Correct as in:

  1. Thread-safe, i.e., has the semantics of a queue in a multi thread scenario
相关标签:
回答
  • 消灭零回复
提交回复
热议问题