Space Engineers
Public Member Functions | Properties | List of all members
ParallelTasks.Worker Class Reference

Public Member Functions

 Worker (WorkStealingScheduler scheduler, int index, ThreadPriority priority)
 
void Start ()
 
void AddWork (Task task)
 

Properties

AutoResetEvent Gate [get]
 
ManualResetEvent HasNoWork [get]
 
static Worker CurrentWorker [get]
 

Detailed Description

Definition at line 12 of file Worker.cs.

Constructor & Destructor Documentation

ParallelTasks.Worker.Worker ( WorkStealingScheduler  scheduler,
int  index,
ThreadPriority  priority 
)
inline

Definition at line 45 of file Worker.cs.

Member Function Documentation

void ParallelTasks.Worker.AddWork ( Task  task)
inline

Definition at line 66 of file Worker.cs.

void ParallelTasks.Worker.Start ( )
inline

Definition at line 61 of file Worker.cs.

Property Documentation

Worker ParallelTasks.Worker.CurrentWorker
staticget

Definition at line 30 of file Worker.cs.

AutoResetEvent ParallelTasks.Worker.Gate
get

Definition at line 18 of file Worker.cs.

ManualResetEvent ParallelTasks.Worker.HasNoWork
get

Definition at line 21 of file Worker.cs.


The documentation for this class was generated from the following file: