PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
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: