C# Class System.Threading.Tasks.ThreadWorker

Inheritance: IDisposable
Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
InitializeUnderlyingThread ( int maxStackSize, ThreadPriority priority ) : void
WorkerMethod ( ) : bool
WorkerMethodWrapper ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Equals() public méthode

public Equals ( ThreadWorker other ) : bool
other ThreadWorker
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Pulse() public méthode

public Pulse ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

ThreadWorker() public méthode

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
Résultat System

ThreadWorker() public méthode

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

WorkerMethod() public static méthode

public static WorkerMethod ( Func predicate, IProducerConsumerCollection sharedWorkQueue, ThreadWorker others ) : void
predicate Func
sharedWorkQueue IProducerConsumerCollection
others ThreadWorker
Résultat void