C# 클래스 MBC.Core.Controllers.ThreadTimeoutAborter

Times a running thread and aborts it if it exceeds a timeout value
파일 보기 프로젝트 열기: aiclub/Mohawk_Battleship 1 사용 예제들

공개 메소드들

메소드 설명
MonBegin ( ) : void

Starts the timer

MonEnd ( ) : void

Ends the timer and prevents the Thread from aborting.

ThreadTimeoutAborter ( int time ) : System

Initialization

비공개 메소드들

메소드 설명
ThreadTimeout ( object stateObject ) : void

Stops the timer and aborts the thread.

메소드 상세

MonBegin() 공개 메소드

Starts the timer
public MonBegin ( ) : void
리턴 void

MonEnd() 공개 메소드

Ends the timer and prevents the Thread from aborting.
public MonEnd ( ) : void
리턴 void

ThreadTimeoutAborter() 공개 메소드

Initialization
public ThreadTimeoutAborter ( int time ) : System
time int The timeout value
리턴 System