C# Class Mono.MicroThreads.Scheduler

Show file Open project: mono/mono-microthreads

Private Properties

Property Type Description
AddInternal void
ManageSleepers int
Print void
RemoveCurrentThread void
RunInternal void
RunManagers void
ScheduleNext void
SleepInternal void
WaitInternal void
WakeUpInternal void
YieldInternal void

Public Methods

Method Description
Add ( MicroThread thread ) : void
Exit ( ) : void
Run ( ) : void
Sleep ( int milliseconds ) : void
Wait ( ) : void
WakeUp ( MicroThread thread ) : void
Yield ( ) : void

Private Methods

Method Description
AddInternal ( MicroThread thread ) : void
ManageSleepers ( ) : int
Print ( string msg ) : void
RemoveCurrentThread ( ) : void
RunInternal ( ) : void
RunManagers ( ) : void
ScheduleNext ( ) : void
SleepInternal ( int milliseconds ) : void
WaitInternal ( ) : void
WakeUpInternal ( MicroThread thread ) : void
YieldInternal ( ) : void

Method Details

Add() public static method

public static Add ( MicroThread thread ) : void
thread MicroThread
return void

Exit() public static method

public static Exit ( ) : void
return void

Run() public static method

public static Run ( ) : void
return void

Sleep() public static method

public static Sleep ( int milliseconds ) : void
milliseconds int
return void

Wait() public static method

public static Wait ( ) : void
return void

WakeUp() public static method

public static WakeUp ( MicroThread thread ) : void
thread MicroThread
return void

Yield() public static method

public static Yield ( ) : void
return void