PocketMine-MP 5.33.2 git-636b96a9a5c35292f076e2f2e9c5723611d28d7b
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: