C# Class AdvancedMultithreadingLab.TestCollectionBase

Inheritance: IDisposable
Datei anzeigen Open project: postsharp/ThreadingTalk

Public Properties

Property Type Description
startEvent System.Threading.ManualResetEventSlim

Private Properties

Property Type Description
ConsumerThread void
Dispose void
ProducerThread void
RunTests void
Setup void

Public Methods

Method Description
TestCollectionBase ( ) : System

Protected Methods

Method Description
AddItems ( int count ) : void
ConsumeItems ( int count ) : void

Private Methods

Method Description
ConsumerThread ( ) : void
Dispose ( ) : void
ProducerThread ( ) : void
RunTests ( ) : void
Setup ( ) : void

Method Details

AddItems() protected abstract method

protected abstract AddItems ( int count ) : void
count int
return void

ConsumeItems() protected abstract method

protected abstract ConsumeItems ( int count ) : void
count int
return void

TestCollectionBase() public method

public TestCollectionBase ( ) : System
return System

Property Details

startEvent public_oe property

public ManualResetEventSlim,System.Threading startEvent
return System.Threading.ManualResetEventSlim