PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\thread\Thread Class Reference
+ Inheritance diagram for pocketmine\thread\Thread:
+ Collaboration diagram for pocketmine\thread\Thread:

Detailed Description

Specialized Thread class aimed at PocketMine-MP-related usages. It handles setting up autoloading and error handling.

Note: You probably don't need a thread unless you're doing something in it that's expected to last a long time (or indefinitely). For CPU-demanding tasks that take a short amount of time, consider using AsyncTasks instead to make better use of the CPU.

See also
AsyncTask

Definition at line 38 of file Thread.php.


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