Thread-safe blocking queue implementation on .NET

后端 未结 7 807
無奈伤痛
無奈伤痛 2020-12-15 07:28

I\'m looking for an implementation of thread-safe blocking queue for .NET. By \"thread-safe blocking queue\" I mean: - thread-safe access to a queue where Dequeue method cal

7条回答
  •  醉酒成梦
    2020-12-15 08:08

    Queue.Synchronized http://msdn.microsoft.com/en-us/library/system.collections.queue.synchronized(VS.71).aspx

    Is a starting point anyways, I've never used a Blocking Queue. Sorry for the not so relevant post.

提交回复
热议问题