PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
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: