PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\ThreadManager Class Reference
+ Inheritance diagram for pocketmine\ThreadManager:
+ Collaboration diagram for pocketmine\ThreadManager:

Public Member Functions

 add ($thread)
 
 remove ($thread)
 
 getAll ()
 

Static Public Member Functions

static init ()
 
static getInstance ()
 

Detailed Description

Definition at line 24 of file ThreadManager.php.

Member Function Documentation

pocketmine\ThreadManager::add (   $thread)
Parameters
Worker | Thread$thread

Definition at line 43 of file ThreadManager.php.

pocketmine\ThreadManager::getAll ( )
Returns
Worker[]|Thread[]

Definition at line 61 of file ThreadManager.php.

static pocketmine\ThreadManager::getInstance ( )
static
Returns
ThreadManager

Definition at line 36 of file ThreadManager.php.

pocketmine\ThreadManager::remove (   $thread)
Parameters
Worker | Thread$thread

Definition at line 52 of file ThreadManager.php.


The documentation for this class was generated from the following file: