C# 클래스 CSharpUtils.Threading.GreenThread

상속: IDisposable
파일 보기 프로젝트 열기: soywiz/csharputils 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GreenThreadLastId int
MonitorThread Thread

보호된 프로퍼티들

프로퍼티 타입 설명
Action System.Action
CurrentThread Thread
Kill bool
ParentEvent System.Threading.ManualResetEvent
ParentThread Thread
ThisEvent System.Threading.ManualResetEvent
ThisGreenThreadList ThreadLocal

공개 메소드들

메소드 설명
Dispose ( ) : void
GreenThread ( ) : System
InitAndStartStopped ( System.Action Action ) : void
Stop ( ) : void
StopAll ( ) : void
SwitchTo ( ) : void

Called from the caller thread. This will give the control to the green thread.

ThisSemaphoreWaitOrParentThreadStopped ( ) : void
Yield ( ) : void

Called from the green thread. This will return the control to the caller thread.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GreenThread() 공개 메소드

public GreenThread ( ) : System
리턴 System

InitAndStartStopped() 공개 메소드

public InitAndStartStopped ( System.Action Action ) : void
Action System.Action
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

StopAll() 공개 정적인 메소드

public static StopAll ( ) : void
리턴 void

SwitchTo() 공개 메소드

Called from the caller thread. This will give the control to the green thread.
public SwitchTo ( ) : void
리턴 void

ThisSemaphoreWaitOrParentThreadStopped() 공개 메소드

public ThisSemaphoreWaitOrParentThreadStopped ( ) : void
리턴 void

Yield() 공개 정적인 메소드

Called from the green thread. This will return the control to the caller thread.
public static Yield ( ) : void
리턴 void

프로퍼티 상세

Action 보호되어 있는 프로퍼티

protected Action,System Action
리턴 System.Action

CurrentThread 보호되어 있는 프로퍼티

protected Thread CurrentThread
리턴 Thread

GreenThreadLastId 공개적으로 정적으로 프로퍼티

public static int GreenThreadLastId
리턴 int

Kill 보호되어 있는 프로퍼티

protected bool Kill
리턴 bool

MonitorThread 공개적으로 정적으로 프로퍼티

public static Thread MonitorThread
리턴 Thread

ParentEvent 보호되어 있는 프로퍼티

protected ManualResetEvent,System.Threading ParentEvent
리턴 System.Threading.ManualResetEvent

ParentThread 보호되어 있는 프로퍼티

protected Thread ParentThread
리턴 Thread

ThisEvent 보호되어 있는 프로퍼티

protected ManualResetEvent,System.Threading ThisEvent
리턴 System.Threading.ManualResetEvent

ThisGreenThreadList 보호되어 있는 정적으로 프로퍼티

protected static ThreadLocal ThisGreenThreadList
리턴 ThreadLocal