C# Class System.Threading.Tasks.ThreadWorker

Inheritance: IDisposable
Show file Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Equals ( ThreadWorker other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Pulse ( ) : void
Stop ( ) : void
ThreadWorker ( IScheduler sched, ThreadWorker others, IProducerConsumerCollection sharedWorkQueue, bool createThread, int maxStackSize, ThreadPriority priority ) : System
ThreadWorker ( IScheduler sched, ThreadWorker others, IProducerConsumerCollection sharedWorkQueue, int maxStackSize, ThreadPriority priority ) : System
WorkerMethod ( Func predicate, IProducerConsumerCollection sharedWorkQueue, ThreadWorker others ) : void

Private Methods

Method Description
InitializeUnderlyingThread ( int maxStackSize, ThreadPriority priority ) : void
WorkerMethod ( ) : bool
WorkerMethodWrapper ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( ThreadWorker other ) : bool
other ThreadWorker
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Pulse() public method

public Pulse ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

ThreadWorker() public method

public ThreadWorker ( IScheduler sched, ThreadWorker others, IProducerConsumerCollection sharedWorkQueue, bool createThread, int maxStackSize, ThreadPriority priority ) : System
sched IScheduler
others ThreadWorker
sharedWorkQueue IProducerConsumerCollection
createThread bool
maxStackSize int
priority ThreadPriority
return System

ThreadWorker() public method

public ThreadWorker ( IScheduler sched, ThreadWorker others, IProducerConsumerCollection sharedWorkQueue, int maxStackSize, ThreadPriority priority ) : System
sched IScheduler
others ThreadWorker
sharedWorkQueue IProducerConsumerCollection
maxStackSize int
priority ThreadPriority
return System

WorkerMethod() public static method

public static WorkerMethod ( Func predicate, IProducerConsumerCollection sharedWorkQueue, ThreadWorker others ) : void
predicate Func
sharedWorkQueue IProducerConsumerCollection
others ThreadWorker
return void