C# Class Brunet.Concurrent.BlockingQueue

Inheritance: Channel
Exibir arquivo Open project: pstjuste/brunet Class Usage Examples

Public Methods

Method Description
BlockingQueue ( ) : System.Collections
BlockingQueue ( int max_enqueues ) : System.Collections
Close ( ) : bool
Dequeue ( ) : object
Dequeue ( int millisec, bool &timedout ) : object
Enqueue ( object a ) : int
Peek ( ) : object
Peek ( int millisec, bool &timedout ) : object
Select ( IList queues, int timeout ) : int
TestThread1 ( ) : void

Private Methods

Method Description
Dequeue ( int millisec, bool &timedout, bool advance ) : object
MaxEnqueueTest ( ) : void
MultipleWriterTest ( ) : void
SelectTest ( ) : void
SetOrCloseRE ( bool set, bool close ) : bool
TestThread2 ( ) : void

Method Details

BlockingQueue() public method

public BlockingQueue ( ) : System.Collections
return System.Collections

BlockingQueue() public method

public BlockingQueue ( int max_enqueues ) : System.Collections
max_enqueues int
return System.Collections

Close() public method

public Close ( ) : bool
return bool

Dequeue() public method

public Dequeue ( ) : object
return object

Dequeue() public method

public Dequeue ( int millisec, bool &timedout ) : object
millisec int
timedout bool
return object

Enqueue() public method

public Enqueue ( object a ) : int
a object
return int

Peek() public method

public Peek ( ) : object
return object

Peek() public method

public Peek ( int millisec, bool &timedout ) : object
millisec int
timedout bool
return object

Select() public static method

public static Select ( IList queues, int timeout ) : int
queues IList
timeout int
return int

TestThread1() public method

public TestThread1 ( ) : void
return void