Tipic Instant Messaging Platform - Programmer's Reference Guide

BlockingQueue Class

BlockingQueue is a wrapper of the Queue class's queueing methods, with two maior improvements: - It is thread save - The dequeue waits until an object is put in the queue An exception could be raised in case a thead is waiting for dequeuing an object and the "dispose" method is colled.

For a list of all members of this type, see BlockingQueue Members.

System.Object
   bedrock.collections.BlockingQueue

[Visual Basic]
Public Class BlockingQueue
    Implements IDisposable
[C#]
public class BlockingQueue : IDisposable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: bedrock.collections

Assembly: tipic.xmpp (in tipic.xmpp.dll)

See Also

BlockingQueue Members | bedrock.collections Namespace