Skip to content

ThreadManager ​

class · pocketmine\thread\ThreadManager · source

Extends pmmp\thread\ThreadSafe

Methods ​

add() ​

php
public function add(\pocketmine\thread\Worker|\pocketmine\thread\Thread $thread) : void

getAll() ​

php
public function getAll() : array

getInstance() ​

php
public static function getInstance() : \pocketmine\thread\ThreadManager

init() ​

php
public static function init() : void

remove() ​

php
public function remove(\pocketmine\thread\Worker|\pocketmine\thread\Thread $thread) : void

stopAll() ​

php
public function stopAll() : int

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.