GenisysPro
for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
|
Public Member Functions | |
getCreatorId () | |
getThreadId () | |
isJoined () | |
isStarted () | |
join () | |
start (int $options=PTHREADS_INHERIT_ALL) | |
![]() | |
chunk ($size, bool $preserve=false) | |
count () | |
isRunning () | |
isTerminated () | |
merge ($from, $overwrite=true) | |
notify () | |
notifyOne () | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetExists ($offset) | |
offsetUnset ($offset) | |
pop () | |
run () | |
shift () | |
synchronized (\Closure $function, $args=null) | |
wait ($timeout) | |
getRefCount () | |
addRef () | |
delRef () | |
isGarbage () | |
Static Public Member Functions | |
static | getCurrentThread () |
static | getCurrentThreadId () |
![]() | |
static | extend ($obj) |
Basic thread implementation
An implementation of a Thread should extend this declaration, implementing the run method. When the start method of that object is called, the run method code will be executed in separate Thread.
|
static |
|
static |
isJoined | ( | ) |
Tell if the referenced Thread has been joined by another context
isStarted | ( | ) |
join | ( | ) |
Causes the calling context to wait for the referenced Thread to finish executing
start | ( | int | $options = PTHREADS_INHERIT_ALL | ) |
Will start a new Thread to execute the implemented run method
int | $options | An optional mask of inheritance constants, by default PTHREADS_INHERIT_ALL |