C# 클래스 Fibrous.ThreadFiber

Fiber implementation backed by a dedicated thread., needs a thread safe queue FiberBase
상속: Fibrous.FiberBase
파일 보기 프로젝트 열기: chrisa23/Fibrous 1 사용 예제들

공개 메소드들

메소드 설명
StartNew ( ) : IFiber
StartNew ( IExecutor executor ) : IFiber
StartNew ( string name ) : IFiber
ThreadFiber ( ) : System
ThreadFiber ( IExecutor executor ) : System
ThreadFiber ( IExecutor executor, IFiberScheduler fiberScheduler, IQueue queue, string threadName, bool isBackground = true, ThreadPriority priority = ThreadPriority.Normal ) : System

Creates a thread fiber.

ThreadFiber ( IExecutor executor, IQueue queue ) : System
ThreadFiber ( IExecutor executor, string name ) : System
ThreadFiber ( string threadName ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
InternalEnqueue ( System.Action action ) : void
InternalStart ( ) : void

비공개 메소드들

메소드 설명
GetNextThreadId ( ) : int
RunThread ( ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InternalEnqueue() 보호된 메소드

protected InternalEnqueue ( System.Action action ) : void
action System.Action
리턴 void

InternalStart() 보호된 메소드

protected InternalStart ( ) : void
리턴 void

StartNew() 공개 정적인 메소드

public static StartNew ( ) : IFiber
리턴 IFiber

StartNew() 공개 정적인 메소드

public static StartNew ( IExecutor executor ) : IFiber
executor IExecutor
리턴 IFiber

StartNew() 공개 정적인 메소드

public static StartNew ( string name ) : IFiber
name string
리턴 IFiber

ThreadFiber() 공개 메소드

public ThreadFiber ( ) : System
리턴 System

ThreadFiber() 공개 메소드

public ThreadFiber ( IExecutor executor ) : System
executor IExecutor
리턴 System

ThreadFiber() 공개 메소드

Creates a thread fiber.
public ThreadFiber ( IExecutor executor, IFiberScheduler fiberScheduler, IQueue queue, string threadName, bool isBackground = true, ThreadPriority priority = ThreadPriority.Normal ) : System
executor IExecutor
fiberScheduler IFiberScheduler
queue IQueue
threadName string
isBackground bool
priority ThreadPriority
리턴 System

ThreadFiber() 공개 메소드

public ThreadFiber ( IExecutor executor, IQueue queue ) : System
executor IExecutor
queue IQueue
리턴 System

ThreadFiber() 공개 메소드

public ThreadFiber ( IExecutor executor, string name ) : System
executor IExecutor
name string
리턴 System

ThreadFiber() 공개 메소드

public ThreadFiber ( string threadName ) : System
threadName string
리턴 System