PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\thread\ThreadManager Class Reference
+ Inheritance diagram for pocketmine\thread\ThreadManager:
+ Collaboration diagram for pocketmine\thread\ThreadManager:

Public Member Functions

 add (Worker|Thread $thread)
 
 getAll ()
 
 remove (Worker|Thread $thread)
 
 stopAll ()
 

Static Public Member Functions

static getInstance ()
 
static init ()
 

Detailed Description

Definition at line 30 of file ThreadManager.php.

Member Function Documentation

◆ add()

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

Definition at line 52 of file ThreadManager.php.

◆ getAll()

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

Definition at line 63 of file ThreadManager.php.

◆ getInstance()

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

Definition at line 38 of file ThreadManager.php.

◆ init()

static pocketmine\thread\ThreadManager::init ( )
static

Definition at line 34 of file ThreadManager.php.

◆ remove()

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

Definition at line 56 of file ThreadManager.php.

◆ stopAll()

pocketmine\thread\ThreadManager::stopAll ( )

Definition at line 75 of file ThreadManager.php.


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