C# 클래스 System.Threading.ThreadPool

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
GetAvailableThreads ( int &workerThreads, int &completionPortThreads ) : void
GetMaxThreads ( int &workerThreads, int &completionPortThreads ) : void
GetMinThreads ( int &workerThreads, int &completionPortThreads ) : void
QueueUserWorkItem ( System callBack ) : bool
QueueUserWorkItem ( System callBack, object state ) : bool
RegisterWaitForSingleObject ( System waitObject, System callBack, object state, System timeout, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
RegisterWaitForSingleObject ( System waitObject, System callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
RegisterWaitForSingleObject ( System waitObject, System callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
SetMaxThreads ( int workerThreads, int completionPortThreads ) : bool
SetMinThreads ( int workerThreads, int completionPortThreads ) : bool
UnsafeQueueUserWorkItem ( System callBack, object state ) : bool
UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, System timeout, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle

비공개 메소드들

메소드 설명
BindHandle ( System osHandle ) : bool
RegisterWaitForSingleObject ( System waitObject, System callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
UnsafeQueueNativeOverlapped ( System overlapped ) : bool
UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle

메소드 상세

GetAvailableThreads() 공개 정적인 메소드

public static GetAvailableThreads ( int &workerThreads, int &completionPortThreads ) : void
workerThreads int
completionPortThreads int
리턴 void

GetMaxThreads() 공개 정적인 메소드

public static GetMaxThreads ( int &workerThreads, int &completionPortThreads ) : void
workerThreads int
completionPortThreads int
리턴 void

GetMinThreads() 공개 정적인 메소드

public static GetMinThreads ( int &workerThreads, int &completionPortThreads ) : void
workerThreads int
completionPortThreads int
리턴 void

QueueUserWorkItem() 공개 정적인 메소드

public static QueueUserWorkItem ( System callBack ) : bool
callBack System
리턴 bool

QueueUserWorkItem() 공개 정적인 메소드

public static QueueUserWorkItem ( System callBack, object state ) : bool
callBack System
state object
리턴 bool

RegisterWaitForSingleObject() 공개 정적인 메소드

public static RegisterWaitForSingleObject ( System waitObject, System callBack, object state, System timeout, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
waitObject System
callBack System
state object
timeout System
executeOnlyOnce bool
리턴 System.Threading.RegisteredWaitHandle

RegisterWaitForSingleObject() 공개 정적인 메소드

public static RegisterWaitForSingleObject ( System waitObject, System callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
waitObject System
callBack System
state object
millisecondsTimeOutInterval int
executeOnlyOnce bool
리턴 System.Threading.RegisteredWaitHandle

RegisterWaitForSingleObject() 공개 정적인 메소드

public static RegisterWaitForSingleObject ( System waitObject, System callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
waitObject System
callBack System
state object
millisecondsTimeOutInterval long
executeOnlyOnce bool
리턴 System.Threading.RegisteredWaitHandle

SetMaxThreads() 공개 정적인 메소드

public static SetMaxThreads ( int workerThreads, int completionPortThreads ) : bool
workerThreads int
completionPortThreads int
리턴 bool

SetMinThreads() 공개 정적인 메소드

public static SetMinThreads ( int workerThreads, int completionPortThreads ) : bool
workerThreads int
completionPortThreads int
리턴 bool

UnsafeQueueUserWorkItem() 공개 정적인 메소드

public static UnsafeQueueUserWorkItem ( System callBack, object state ) : bool
callBack System
state object
리턴 bool

UnsafeRegisterWaitForSingleObject() 공개 정적인 메소드

public static UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, System timeout, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
waitObject System
callBack System
state object
timeout System
executeOnlyOnce bool
리턴 System.Threading.RegisteredWaitHandle

UnsafeRegisterWaitForSingleObject() 공개 정적인 메소드

public static UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
waitObject System
callBack System
state object
millisecondsTimeOutInterval int
executeOnlyOnce bool
리턴 System.Threading.RegisteredWaitHandle

UnsafeRegisterWaitForSingleObject() 공개 정적인 메소드

public static UnsafeRegisterWaitForSingleObject ( System waitObject, System callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce ) : System.Threading.RegisteredWaitHandle
waitObject System
callBack System
state object
millisecondsTimeOutInterval long
executeOnlyOnce bool
리턴 System.Threading.RegisteredWaitHandle