PocketMine
Worker Class Reference
Inheritance diagram for Worker:
AsyncWorker

Public Member Functions

 getClassLoader ()
 
 setClassLoader (\ClassLoader $loader=null)
 
 registerClassLoader ()
 
 start ($options=PTHREADS_INHERIT_ALL)
 
 quit ()
 
 getThreadName ()
 

Protected Attributes

 $classLoader
 

Detailed Description

This class must be extended by all custom threading classes

Member Function Documentation

quit ( )

Stops the thread using the best way possible. Try to stop it yourself before calling this.


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