PHP Class pocketmine\Worker

Inheritance: extends Worker
Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Property Type Description
$classLoader ClassLoader
$isKilled

Public Methods

Method Description
getClassLoader ( )
getThreadName ( )
quit ( ) Stops the thread using the best way possible. Try to stop it yourself before calling this.
registerClassLoader ( )
setClassLoader ( ClassLoader $loader = null )
start ( integer $options = PTHREADS_INHERIT_ALL )

Method Details

getClassLoader() public method

public getClassLoader ( )

getThreadName() public method

public getThreadName ( )

quit() public method

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

registerClassLoader() public method

public registerClassLoader ( )

setClassLoader() public method

public setClassLoader ( ClassLoader $loader = null )
$loader ClassLoader

start() public method

public start ( integer $options = PTHREADS_INHERIT_ALL )
$options integer

Property Details

$classLoader protected property

protected ClassLoader $classLoader
return ClassLoader

$isKilled protected property

protected $isKilled