PHP 클래스 pocketmine\ThreadManager

상속: extends Volatile
파일 보기 프로젝트 열기: ClearSkyTeam/ClearSky 1 사용 예제들

공개 메소드들

메소드 설명
add ( Worker | Thread $thread )
getAll ( ) : Worker[] | Thread[]
getInstance ( ) : ThreadManager
init ( )
remove ( Worker | Thread $thread )

메소드 상세

add() 공개 메소드

public add ( Worker | Thread $thread )
$thread Worker | Thread

getAll() 공개 메소드

public getAll ( ) : Worker[] | Thread[]
리턴 Worker[] | Thread[]

getInstance() 공개 정적인 메소드

public static getInstance ( ) : ThreadManager
리턴 ThreadManager

init() 공개 정적인 메소드

public static init ( )

remove() 공개 메소드

public remove ( Worker | Thread $thread )
$thread Worker | Thread