PHP Class pocketmine\Worker

Inheritance: extends Worker
Mostrar archivo 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_oe property

protected ClassLoader $classLoader
return ClassLoader

$isKilled protected_oe property

protected $isKilled