diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 802 |
1 files changed, 485 insertions, 317 deletions
@@ -1,6 +1,6 @@ -Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { +Extension [ <persistent> extension #130 pthreads version 3.2.0 ] { - - Constants [10] { + - Constants [9] { Constant [ integer PTHREADS_INHERIT_ALL ] { 1118481 } Constant [ integer PTHREADS_INHERIT_NONE ] { 0 } Constant [ integer PTHREADS_INHERIT_INI ] { 1 } @@ -10,11 +10,10 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { Constant [ integer PTHREADS_INHERIT_INCLUDES ] { 65536 } Constant [ integer PTHREADS_INHERIT_COMMENTS ] { 1048576 } Constant [ integer PTHREADS_ALLOW_HEADERS ] { 268435456 } - Constant [ integer PTHREADS_ALLOW_GLOBALS ] { 16777216 } } - - Classes [8] { - Class [ <internal:pthreads> <iterateable> class Threaded implements Traversable, Countable ] { + - Classes [7] { + Interface [ <internal:pthreads> interface Collectable ] { - Constants [0] { } @@ -22,20 +21,35 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { - Static properties [0] { } - - Static methods [2] { - Method [ <internal:pthreads> static public method extend ] { + - Static methods [0] { + } - - Parameters [1] { - Parameter #0 [ <required> $class ] + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:pthreads> abstract public method isGarbage ] { + + - Parameters [0] { } + - Return [ boolean ] } + } + } - Method [ <internal:pthreads> static public method from ] { + Class [ <internal:pthreads> <iterateable> class Threaded implements Traversable, Collectable ] { - - Parameters [3] { - Parameter #0 [ <required> Closure $run ] - Parameter #1 [ <optional> Closure or NULL $construct ] - Parameter #2 [ <optional> $args ] + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:pthreads> static public method extend ] { + + - Parameters [1] { + Parameter #0 [ <required> $class ] } } } @@ -43,7 +57,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { - Properties [0] { } - - Methods [15] { + - Methods [16] { Method [ <internal:pthreads> public method run ] { - Parameters [0] { @@ -53,7 +67,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { Method [ <internal:pthreads> public method wait ] { - Parameters [1] { - Parameter #0 [ <optional> $timeout ] + Parameter #0 [ <optional> integer $timeout ] } } @@ -63,13 +77,13 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads> public method isRunning ] { + Method [ <internal:pthreads> public method notifyOne ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method isWaiting ] { + Method [ <internal:pthreads> public method isRunning ] { - Parameters [0] { } @@ -81,60 +95,67 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads> public method getTerminationInfo ] { + Method [ <internal:pthreads> public method synchronized ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $function ] } } - Method [ <internal:pthreads> public method synchronized ] { + Method [ <internal:pthreads> public method merge ] { - - Parameters [1] { - Parameter #0 [ <required> $function ] + - Parameters [2] { + Parameter #0 [ <required> $from ] + Parameter #1 [ <optional> $overwrite ] } } - Method [ <internal:pthreads> public method lock ] { + Method [ <internal:pthreads> public method shift ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method unlock ] { + Method [ <internal:pthreads> public method chunk ] { + + - Parameters [2] { + Parameter #0 [ <required> $size ] + Parameter #1 [ <optional> $preserve ] + } + } + + Method [ <internal:pthreads> public method pop ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method merge ] { + Method [ <internal:pthreads> public method count ] { - - Parameters [2] { - Parameter #0 [ <required> $from ] - Parameter #1 [ <optional> $overwrite ] + - Parameters [0] { } } - Method [ <internal:pthreads> public method shift ] { + Method [ <internal:pthreads, prototype Collectable> public method isGarbage ] { - Parameters [0] { } + - Return [ boolean ] } - Method [ <internal:pthreads> public method chunk ] { + Method [ <internal:pthreads> public method addRef ] { - - Parameters [2] { - Parameter #0 [ <required> $size ] - Parameter #1 [ <optional> $preserve ] + - Parameters [0] { } } - Method [ <internal:pthreads> public method pop ] { + Method [ <internal:pthreads> public method delRef ] { - Parameters [0] { } } - Method [ <internal:pthreads, prototype Countable> public method count ] { + Method [ <internal:pthreads> public method getRefCount ] { - Parameters [0] { } @@ -142,7 +163,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Class [ <internal:pthreads> <iterateable> class Threaded implements Traversable, Countable ] { + Class [ <internal:pthreads> <iterateable> class Volatile extends Threaded implements Collectable, Traversable ] { - Constants [0] { } @@ -150,119 +171,117 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { - Static properties [0] { } - - Static methods [2] { - Method [ <internal:pthreads> static public method extend ] { + - Static methods [1] { + Method [ <internal:pthreads, inherits Threaded> static public method extend ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } - - Method [ <internal:pthreads> static public method from ] { - - - Parameters [3] { - Parameter #0 [ <required> Closure $run ] - Parameter #1 [ <optional> Closure or NULL $construct ] - Parameter #2 [ <optional> $args ] - } - } } - Properties [0] { } - - Methods [15] { - Method [ <internal:pthreads> public method run ] { + - Methods [16] { + Method [ <internal:pthreads, inherits Threaded> public method run ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method wait ] { + Method [ <internal:pthreads, inherits Threaded> public method wait ] { - Parameters [1] { - Parameter #0 [ <optional> $timeout ] + Parameter #0 [ <optional> integer $timeout ] } } - Method [ <internal:pthreads> public method notify ] { + Method [ <internal:pthreads, inherits Threaded> public method notify ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method isRunning ] { + Method [ <internal:pthreads, inherits Threaded> public method notifyOne ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method isWaiting ] { + Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method isTerminated ] { + Method [ <internal:pthreads, inherits Threaded> public method isTerminated ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method getTerminationInfo ] { + Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $function ] } } - Method [ <internal:pthreads> public method synchronized ] { + Method [ <internal:pthreads, inherits Threaded> public method merge ] { - - Parameters [1] { - Parameter #0 [ <required> $function ] + - Parameters [2] { + Parameter #0 [ <required> $from ] + Parameter #1 [ <optional> $overwrite ] } } - Method [ <internal:pthreads> public method lock ] { + Method [ <internal:pthreads, inherits Threaded> public method shift ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method unlock ] { + Method [ <internal:pthreads, inherits Threaded> public method chunk ] { + + - Parameters [2] { + Parameter #0 [ <required> $size ] + Parameter #1 [ <optional> $preserve ] + } + } + + Method [ <internal:pthreads, inherits Threaded> public method pop ] { - Parameters [0] { } } - Method [ <internal:pthreads> public method merge ] { + Method [ <internal:pthreads, inherits Threaded> public method count ] { - - Parameters [2] { - Parameter #0 [ <required> $from ] - Parameter #1 [ <optional> $overwrite ] + - Parameters [0] { } } - Method [ <internal:pthreads> public method shift ] { + Method [ <internal:pthreads, inherits Threaded, prototype Collectable> public method isGarbage ] { - Parameters [0] { } + - Return [ boolean ] } - Method [ <internal:pthreads> public method chunk ] { + Method [ <internal:pthreads, inherits Threaded> public method addRef ] { - - Parameters [2] { - Parameter #0 [ <required> $size ] - Parameter #1 [ <optional> $preserve ] + - Parameters [0] { } } - Method [ <internal:pthreads> public method pop ] { + Method [ <internal:pthreads, inherits Threaded> public method delRef ] { - Parameters [0] { } } - Method [ <internal:pthreads, prototype Countable> public method count ] { + Method [ <internal:pthreads, inherits Threaded> public method getRefCount ] { - Parameters [0] { } @@ -270,7 +289,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Class [ <internal:pthreads> <iterateable> class Thread extends Threaded implements Countable, Traversable ] { + Class [ <internal:pthreads> <iterateable> class Thread extends Threaded implements Collectable, Traversable ] { - Constants [0] { } @@ -278,7 +297,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { - Static properties [0] { } - - Static methods [5] { + - Static methods [3] { Method [ <internal:pthreads> static public method getCurrentThreadId ] { - Parameters [0] { @@ -291,39 +310,22 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads> static public method globally ] { - - - Parameters [2] { - Parameter #0 [ <required> $block ] - Parameter #1 [ <optional> $args ] - } - } - Method [ <internal:pthreads, inherits Threaded> static public method extend ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } - - Method [ <internal:pthreads, inherits Threaded> static public method from ] { - - - Parameters [3] { - Parameter #0 [ <required> Closure $run ] - Parameter #1 [ <optional> Closure or NULL $construct ] - Parameter #2 [ <optional> $args ] - } - } } - Properties [0] { } - - Methods [23] { + - Methods [22] { Method [ <internal:pthreads> public method start ] { - Parameters [1] { - Parameter #0 [ <optional> $options ] + Parameter #0 [ <optional> integer $options ] } } @@ -333,12 +335,6 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads> public method detach ] { - - - Parameters [0] { - } - } - Method [ <internal:pthreads> public method isStarted ] { - Parameters [0] { @@ -363,12 +359,6 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads> public method kill ] { - - - Parameters [0] { - } - } - Method [ <internal:pthreads, inherits Threaded> public method run ] { - Parameters [0] { @@ -378,7 +368,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { Method [ <internal:pthreads, inherits Threaded> public method wait ] { - Parameters [1] { - Parameter #0 [ <optional> $timeout ] + Parameter #0 [ <optional> integer $timeout ] } } @@ -388,13 +378,13 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { + Method [ <internal:pthreads, inherits Threaded> public method notifyOne ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method isWaiting ] { + Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { - Parameters [0] { } @@ -406,60 +396,67 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Threaded> public method getTerminationInfo ] { + Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $function ] } } - Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { + Method [ <internal:pthreads, inherits Threaded> public method merge ] { - - Parameters [1] { - Parameter #0 [ <required> $function ] + - Parameters [2] { + Parameter #0 [ <required> $from ] + Parameter #1 [ <optional> $overwrite ] } } - Method [ <internal:pthreads, inherits Threaded> public method lock ] { + Method [ <internal:pthreads, inherits Threaded> public method shift ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method unlock ] { + Method [ <internal:pthreads, inherits Threaded> public method chunk ] { + + - Parameters [2] { + Parameter #0 [ <required> $size ] + Parameter #1 [ <optional> $preserve ] + } + } + + Method [ <internal:pthreads, inherits Threaded> public method pop ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method merge ] { + Method [ <internal:pthreads, inherits Threaded> public method count ] { - - Parameters [2] { - Parameter #0 [ <required> $from ] - Parameter #1 [ <optional> $overwrite ] + - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method shift ] { + Method [ <internal:pthreads, inherits Threaded, prototype Collectable> public method isGarbage ] { - Parameters [0] { } + - Return [ boolean ] } - Method [ <internal:pthreads, inherits Threaded> public method chunk ] { + Method [ <internal:pthreads, inherits Threaded> public method addRef ] { - - Parameters [2] { - Parameter #0 [ <required> $size ] - Parameter #1 [ <optional> $preserve ] + - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method pop ] { + Method [ <internal:pthreads, inherits Threaded> public method delRef ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded, prototype Countable> public method count ] { + Method [ <internal:pthreads, inherits Threaded> public method getRefCount ] { - Parameters [0] { } @@ -467,7 +464,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Class [ <internal:pthreads> <iterateable> class Worker extends Thread implements Traversable, Countable ] { + Class [ <internal:pthreads> <iterateable> class Worker extends Thread implements Traversable, Collectable ] { - Constants [0] { } @@ -475,7 +472,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { - Static properties [0] { } - - Static methods [5] { + - Static methods [3] { Method [ <internal:pthreads, inherits Thread> static public method getCurrentThreadId ] { - Parameters [0] { @@ -488,29 +485,12 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Thread> static public method globally ] { - - - Parameters [2] { - Parameter #0 [ <required> $block ] - Parameter #1 [ <optional> $args ] - } - } - Method [ <internal:pthreads, inherits Threaded> static public method extend ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } - - Method [ <internal:pthreads, inherits Threaded> static public method from ] { - - - Parameters [3] { - Parameter #0 [ <required> Closure $run ] - Parameter #1 [ <optional> Closure or NULL $construct ] - Parameter #2 [ <optional> $args ] - } - } } - Properties [0] { @@ -526,14 +506,13 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { Method [ <internal:pthreads> public method stack ] { - Parameters [1] { - Parameter #0 [ <required> &$work ] + Parameter #0 [ <required> Threaded $work ] } } Method [ <internal:pthreads> public method unstack ] { - - Parameters [1] { - Parameter #0 [ <optional> &$work ] + - Parameters [0] { } } @@ -549,26 +528,28 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads> public method isWorking ] { + Method [ <internal:pthreads> public method collect ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> callable $function ] } } - Method [ <internal:pthreads, inherits Thread> public method start ] { + Method [ <internal:pthreads> public method collector ] { - Parameters [1] { - Parameter #0 [ <optional> $options ] + Parameter #0 [ <required> Collectable $collectable ] } } - Method [ <internal:pthreads, inherits Thread> public method join ] { + Method [ <internal:pthreads, inherits Thread> public method start ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> integer $options ] } } - Method [ <internal:pthreads, inherits Thread> public method detach ] { + Method [ <internal:pthreads, inherits Thread> public method join ] { - Parameters [0] { } @@ -598,12 +579,6 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Thread> public method kill ] { - - - Parameters [0] { - } - } - Method [ <internal:pthreads, inherits Threaded> public method run ] { - Parameters [0] { @@ -613,7 +588,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { Method [ <internal:pthreads, inherits Threaded> public method wait ] { - Parameters [1] { - Parameter #0 [ <optional> $timeout ] + Parameter #0 [ <optional> integer $timeout ] } } @@ -623,13 +598,13 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { + Method [ <internal:pthreads, inherits Threaded> public method notifyOne ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method isWaiting ] { + Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { - Parameters [0] { } @@ -641,60 +616,67 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Threaded> public method getTerminationInfo ] { + Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $function ] } } - Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { + Method [ <internal:pthreads, inherits Threaded> public method merge ] { - - Parameters [1] { - Parameter #0 [ <required> $function ] + - Parameters [2] { + Parameter #0 [ <required> $from ] + Parameter #1 [ <optional> $overwrite ] } } - Method [ <internal:pthreads, inherits Threaded> public method lock ] { + Method [ <internal:pthreads, inherits Threaded> public method shift ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method unlock ] { + Method [ <internal:pthreads, inherits Threaded> public method chunk ] { + + - Parameters [2] { + Parameter #0 [ <required> $size ] + Parameter #1 [ <optional> $preserve ] + } + } + + Method [ <internal:pthreads, inherits Threaded> public method pop ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method merge ] { + Method [ <internal:pthreads, inherits Threaded> public method count ] { - - Parameters [2] { - Parameter #0 [ <required> $from ] - Parameter #1 [ <optional> $overwrite ] + - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method shift ] { + Method [ <internal:pthreads, inherits Threaded, prototype Collectable> public method isGarbage ] { - Parameters [0] { } + - Return [ boolean ] } - Method [ <internal:pthreads, inherits Threaded> public method chunk ] { + Method [ <internal:pthreads, inherits Threaded> public method addRef ] { - - Parameters [2] { - Parameter #0 [ <required> $size ] - Parameter #1 [ <optional> $preserve ] + - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method pop ] { + Method [ <internal:pthreads, inherits Threaded> public method delRef ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded, prototype Countable> public method count ] { + Method [ <internal:pthreads, inherits Threaded> public method getRefCount ] { - Parameters [0] { } @@ -702,7 +684,7 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Class [ <internal:pthreads> class Mutex ] { + Class [ <internal:pthreads> class Pool ] { - Constants [0] { } @@ -710,49 +692,57 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { - Static properties [0] { } - - Static methods [5] { - Method [ <internal:pthreads> final static public method create ] { + - Static methods [0] { + } + + - Properties [5] { + Property [ <default> protected $size ] + Property [ <default> protected $class ] + Property [ <default> protected $workers ] + Property [ <default> protected $ctor ] + Property [ <default> protected $last ] + } + + - Methods [6] { + Method [ <internal:pthreads, ctor> public method __construct ] { - - Parameters [1] { - Parameter #0 [ <optional> $lock ] + - Parameters [3] { + Parameter #0 [ <required> integer $size ] + Parameter #1 [ <optional> string $class ] + Parameter #2 [ <optional> array $ctor ] } } - Method [ <internal:pthreads> final static public method lock ] { + Method [ <internal:pthreads> public method resize ] { - Parameters [1] { - Parameter #0 [ <required> $mutex ] + Parameter #0 [ <required> integer $size ] } } - Method [ <internal:pthreads> final static public method trylock ] { + Method [ <internal:pthreads> public method submit ] { - Parameters [1] { - Parameter #0 [ <required> $mutex ] + Parameter #0 [ <required> Threaded $task ] } } - Method [ <internal:pthreads> final static public method unlock ] { + Method [ <internal:pthreads> public method submitTo ] { - Parameters [2] { - Parameter #0 [ <required> $mutex ] - Parameter #1 [ <optional> $destroy ] + Parameter #0 [ <required> integer $worker ] + Parameter #1 [ <required> Threaded $task ] } } - Method [ <internal:pthreads> final static public method destroy ] { + Method [ <internal:pthreads> public method collect ] { - Parameters [1] { - Parameter #0 [ <required> $mutex ] + Parameter #0 [ <optional> callable $collector ] } } - } - - Properties [0] { - } - - - Methods [1] { - Method [ <internal:pthreads, ctor> final public method __construct ] { + Method [ <internal:pthreads> public method shutdown ] { - Parameters [0] { } @@ -760,166 +750,386 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Class [ <internal:pthreads> class Cond ] { - - - Constants [0] { + Class [ <internal:pthreads> <iterateable> class Socket extends Threaded implements Collectable, Traversable ] { + + - Constants [146] { + Constant [ public integer AF_UNIX ] { 1 } + Constant [ public integer AF_INET ] { 2 } + Constant [ public integer AF_INET6 ] { 10 } + Constant [ public integer SOCK_STREAM ] { 1 } + Constant [ public integer SOCK_DGRAM ] { 2 } + Constant [ public integer SOCK_RAW ] { 3 } + Constant [ public integer SOCK_SEQPACKET ] { 5 } + Constant [ public integer SOCK_RDM ] { 4 } + Constant [ public integer SO_DEBUG ] { 1 } + Constant [ public integer SO_REUSEADDR ] { 2 } + Constant [ public integer SO_REUSEPORT ] { 15 } + Constant [ public integer SO_KEEPALIVE ] { 9 } + Constant [ public integer SO_DONTROUTE ] { 5 } + Constant [ public integer SO_LINGER ] { 13 } + Constant [ public integer SO_BROADCAST ] { 6 } + Constant [ public integer SO_OOBINLINE ] { 10 } + Constant [ public integer SO_SNDBUF ] { 7 } + Constant [ public integer SO_RCVBUF ] { 8 } + Constant [ public integer SO_SNDLOWAT ] { 19 } + Constant [ public integer SO_RCVLOWAT ] { 18 } + Constant [ public integer SO_SNDTIMEO ] { 21 } + Constant [ public integer SO_RCVTIMEO ] { 20 } + Constant [ public integer SO_TYPE ] { 3 } + Constant [ public integer SO_ERROR ] { 4 } + Constant [ public integer SO_BINDTODEVICE ] { 25 } + Constant [ public integer SOMAXCONN ] { 128 } + Constant [ public integer TCP_NODELAY ] { 1 } + Constant [ public integer NORMAL_READ ] { 1 } + Constant [ public integer BINARY_READ ] { 2 } + Constant [ public integer SOL_SOCKET ] { 1 } + Constant [ public integer SOL_TCP ] { 6 } + Constant [ public integer SOL_UDP ] { 17 } + Constant [ public integer MSG_OOB ] { 1 } + Constant [ public integer MSG_WAITALL ] { 256 } + Constant [ public integer MSG_CTRUNC ] { 8 } + Constant [ public integer MSG_TRUNC ] { 32 } + Constant [ public integer MSG_PEEK ] { 2 } + Constant [ public integer MSG_DONTROUTE ] { 4 } + Constant [ public integer MSG_EOR ] { 128 } + Constant [ public integer MSG_CONFIRM ] { 2048 } + Constant [ public integer MSG_ERRQUEUE ] { 8192 } + Constant [ public integer MSG_NOSIGNAL ] { 16384 } + Constant [ public integer MSG_MORE ] { 32768 } + Constant [ public integer MSG_WAITFORONE ] { 65536 } + Constant [ public integer MSG_CMSG_CLOEXEC ] { 1073741824 } + Constant [ public integer EPERM ] { 1 } + Constant [ public integer ENOENT ] { 2 } + Constant [ public integer EINTR ] { 4 } + Constant [ public integer EIO ] { 5 } + Constant [ public integer ENXIO ] { 6 } + Constant [ public integer E2BIG ] { 7 } + Constant [ public integer EBADF ] { 9 } + Constant [ public integer EAGAIN ] { 11 } + Constant [ public integer ENOMEM ] { 12 } + Constant [ public integer EACCES ] { 13 } + Constant [ public integer EFAULT ] { 14 } + Constant [ public integer ENOTBLK ] { 15 } + Constant [ public integer EBUSY ] { 16 } + Constant [ public integer EEXIST ] { 17 } + Constant [ public integer EXDEV ] { 18 } + Constant [ public integer ENODEV ] { 19 } + Constant [ public integer ENOTDIR ] { 20 } + Constant [ public integer EISDIR ] { 21 } + Constant [ public integer EINVAL ] { 22 } + Constant [ public integer ENFILE ] { 23 } + Constant [ public integer EMFILE ] { 24 } + Constant [ public integer ENOTTY ] { 25 } + Constant [ public integer ENOSPC ] { 28 } + Constant [ public integer ESPIPE ] { 29 } + Constant [ public integer EROFS ] { 30 } + Constant [ public integer EMLINK ] { 31 } + Constant [ public integer EPIPE ] { 32 } + Constant [ public integer ENAMETOOLONG ] { 36 } + Constant [ public integer ENOLCK ] { 37 } + Constant [ public integer ENOSYS ] { 38 } + Constant [ public integer ENOTEMPTY ] { 39 } + Constant [ public integer ELOOP ] { 40 } + Constant [ public integer EWOULDBLOCK ] { 11 } + Constant [ public integer ENOMSG ] { 42 } + Constant [ public integer EIDRM ] { 43 } + Constant [ public integer ECHRNG ] { 44 } + Constant [ public integer EL2NSYNC ] { 45 } + Constant [ public integer EL3HLT ] { 46 } + Constant [ public integer EL3RST ] { 47 } + Constant [ public integer ELNRNG ] { 48 } + Constant [ public integer EUNATCH ] { 49 } + Constant [ public integer ENOCSI ] { 50 } + Constant [ public integer EL2HLT ] { 51 } + Constant [ public integer EBADE ] { 52 } + Constant [ public integer EBADR ] { 53 } + Constant [ public integer EXFULL ] { 54 } + Constant [ public integer ENOANO ] { 55 } + Constant [ public integer EBADRQC ] { 56 } + Constant [ public integer EBADSLT ] { 57 } + Constant [ public integer ENOSTR ] { 60 } + Constant [ public integer ENODATA ] { 61 } + Constant [ public integer ETIME ] { 62 } + Constant [ public integer ENOSR ] { 63 } + Constant [ public integer ENONET ] { 64 } + Constant [ public integer EREMOTE ] { 66 } + Constant [ public integer ENOLINK ] { 67 } + Constant [ public integer EADV ] { 68 } + Constant [ public integer ESRMNT ] { 69 } + Constant [ public integer ECOMM ] { 70 } + Constant [ public integer EPROTO ] { 71 } + Constant [ public integer EMULTIHOP ] { 72 } + Constant [ public integer EBADMSG ] { 74 } + Constant [ public integer ENOTUNIQ ] { 76 } + Constant [ public integer EBADFD ] { 77 } + Constant [ public integer EREMCHG ] { 78 } + Constant [ public integer ERESTART ] { 85 } + Constant [ public integer ESTRPIPE ] { 86 } + Constant [ public integer EUSERS ] { 87 } + Constant [ public integer ENOTSOCK ] { 88 } + Constant [ public integer EDESTADDRREQ ] { 89 } + Constant [ public integer EMSGSIZE ] { 90 } + Constant [ public integer EPROTOTYPE ] { 91 } + Constant [ public integer ENOPROTOOPT ] { 92 } + Constant [ public integer EPROTONOSUPPORT ] { 93 } + Constant [ public integer ESOCKTNOSUPPORT ] { 94 } + Constant [ public integer EOPNOTSUPP ] { 95 } + Constant [ public integer EPFNOSUPPORT ] { 96 } + Constant [ public integer EAFNOSUPPORT ] { 97 } + Constant [ public integer EADDRINUSE ] { 98 } + Constant [ public integer EADDRNOTAVAIL ] { 99 } + Constant [ public integer ENETDOWN ] { 100 } + Constant [ public integer ENETUNREACH ] { 101 } + Constant [ public integer ENETRESET ] { 102 } + Constant [ public integer ECONNABORTED ] { 103 } + Constant [ public integer ECONNRESET ] { 104 } + Constant [ public integer ENOBUFS ] { 105 } + Constant [ public integer EISCONN ] { 106 } + Constant [ public integer ENOTCONN ] { 107 } + Constant [ public integer ESHUTDOWN ] { 108 } + Constant [ public integer ETOOMANYREFS ] { 109 } + Constant [ public integer ETIMEDOUT ] { 110 } + Constant [ public integer ECONNREFUSED ] { 111 } + Constant [ public integer EHOSTDOWN ] { 112 } + Constant [ public integer EHOSTUNREACH ] { 113 } + Constant [ public integer EALREADY ] { 114 } + Constant [ public integer EINPROGRESS ] { 115 } + Constant [ public integer EISNAM ] { 120 } + Constant [ public integer EREMOTEIO ] { 121 } + Constant [ public integer EDQUOT ] { 122 } + Constant [ public integer ENOMEDIUM ] { 123 } + Constant [ public integer EMEDIUMTYPE ] { 124 } } - Static properties [0] { } - - Static methods [5] { - Method [ <internal:pthreads> final static public method create ] { + - Static methods [3] { + Method [ <internal:pthreads> static public method select ] { - - Parameters [0] { + - Parameters [6] { + Parameter #0 [ <required> array or NULL &$read ] + Parameter #1 [ <required> array or NULL &$write ] + Parameter #2 [ <required> array or NULL &$except ] + Parameter #3 [ <required> integer or NULL $sec ] + Parameter #4 [ <optional> integer $usec ] + Parameter #5 [ <optional> integer or NULL &$error ] + } + } + + Method [ <internal:pthreads> static public method strerror ] { + + - Parameters [1] { + Parameter #0 [ <required> integer $error ] } + - Return [ string or NULL ] } - Method [ <internal:pthreads> final static public method signal ] { + Method [ <internal:pthreads, inherits Threaded> static public method extend ] { - Parameters [1] { - Parameter #0 [ <required> $condition ] + Parameter #0 [ <required> $class ] + } + } + } + + - Properties [0] { + } + + - Methods [34] { + Method [ <internal:pthreads, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> integer $domain ] + Parameter #1 [ <required> integer $type ] + Parameter #2 [ <required> integer $protocol ] } } - Method [ <internal:pthreads> final static public method wait ] { + Method [ <internal:pthreads> public method setOption ] { - Parameters [3] { - Parameter #0 [ <required> $condition ] - Parameter #1 [ <required> $mutex ] - Parameter #2 [ <optional> $timeout ] + Parameter #0 [ <required> integer $level ] + Parameter #1 [ <required> integer $name ] + Parameter #2 [ <required> integer $value ] + } + - Return [ boolean ] + } + + Method [ <internal:pthreads> public method getOption ] { + + - Parameters [2] { + Parameter #0 [ <required> integer $level ] + Parameter #1 [ <required> integer $name ] } + - Return [ integer ] } - Method [ <internal:pthreads> final static public method broadcast ] { + Method [ <internal:pthreads> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> integer $port ] + } + - Return [ boolean ] + } + + Method [ <internal:pthreads> public method listen ] { - Parameters [1] { - Parameter #0 [ <required> $condition ] + Parameter #0 [ <required> integer $backlog ] } + - Return [ boolean ] } - Method [ <internal:pthreads> final static public method destroy ] { + Method [ <internal:pthreads> public method accept ] { - Parameters [1] { - Parameter #0 [ <required> $condition ] + Parameter #0 [ <optional> $class ] } } - } - - Properties [0] { - } + Method [ <internal:pthreads> public method connect ] { - - Methods [1] { - Method [ <internal:pthreads, ctor> final public method __construct ] { + - Parameters [2] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> integer $port ] + } + - Return [ boolean ] + } - - Parameters [0] { + Method [ <internal:pthreads> public method read ] { + + - Parameters [3] { + Parameter #0 [ <required> integer $length ] + Parameter #1 [ <optional> integer $flags ] + Parameter #2 [ <optional> integer $type ] } } - } - } - Class [ <internal:pthreads> <iterateable> class Collectable extends Threaded implements Countable, Traversable ] { + Method [ <internal:pthreads> public method write ] { - - Constants [0] { - } + - Parameters [2] { + Parameter #0 [ <required> string $buffer ] + Parameter #1 [ <optional> integer $length ] + } + } - - Static properties [0] { - } + Method [ <internal:pthreads> public method send ] { - - Static methods [2] { - Method [ <internal:pthreads, inherits Threaded> static public method extend ] { + - Parameters [3] { + Parameter #0 [ <required> string $buffer ] + Parameter #1 [ <required> integer $length ] + Parameter #2 [ <required> integer $flags ] + } + } - - Parameters [1] { - Parameter #0 [ <required> $class ] + Method [ <internal:pthreads> public method recvfrom ] { + + - Parameters [5] { + Parameter #0 [ <required> string or NULL &$buffer ] + Parameter #1 [ <required> integer $length ] + Parameter #2 [ <required> integer $flags ] + Parameter #3 [ <required> string or NULL &$name ] + Parameter #4 [ <optional> integer or NULL &$port ] } } - Method [ <internal:pthreads, inherits Threaded> static public method from ] { + Method [ <internal:pthreads> public method sendto ] { - - Parameters [3] { - Parameter #0 [ <required> Closure $run ] - Parameter #1 [ <optional> Closure or NULL $construct ] - Parameter #2 [ <optional> $args ] + - Parameters [5] { + Parameter #0 [ <required> string $buffer ] + Parameter #1 [ <required> integer $length ] + Parameter #2 [ <required> integer $flags ] + Parameter #3 [ <required> string $addr ] + Parameter #4 [ <optional> integer $port ] } } - } - - Properties [1] { - Property [ <default> protected $garbage ] - } + Method [ <internal:pthreads> public method setBlocking ] { + + - Parameters [1] { + Parameter #0 [ <required> boolean $blocking ] + } + - Return [ boolean ] + } - - Methods [17] { - Method [ <internal:pthreads> public method isGarbage ] { + Method [ <internal:pthreads> public method getPeerName ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> boolean $port ] } + - Return [ array ] } - Method [ <internal:pthreads> public method setGarbage ] { + Method [ <internal:pthreads> public method getSockName ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> boolean $port ] } + - Return [ array ] } - Method [ <internal:pthreads, inherits Threaded> public method run ] { + Method [ <internal:pthreads> public method close ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method wait ] { + Method [ <internal:pthreads> public method getLastError ] { - Parameters [1] { - Parameter #0 [ <optional> $timeout ] + Parameter #0 [ <optional> boolean $clear ] } } - Method [ <internal:pthreads, inherits Threaded> public method notify ] { + Method [ <internal:pthreads> public method clearError ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { + Method [ <internal:pthreads, inherits Threaded> public method run ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method isWaiting ] { + Method [ <internal:pthreads, inherits Threaded> public method wait ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> integer $timeout ] } } - Method [ <internal:pthreads, inherits Threaded> public method isTerminated ] { + Method [ <internal:pthreads, inherits Threaded> public method notify ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method getTerminationInfo ] { + Method [ <internal:pthreads, inherits Threaded> public method notifyOne ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { + Method [ <internal:pthreads, inherits Threaded> public method isRunning ] { - - Parameters [1] { - Parameter #0 [ <required> $function ] + - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method lock ] { + Method [ <internal:pthreads, inherits Threaded> public method isTerminated ] { - Parameters [0] { } } - Method [ <internal:pthreads, inherits Threaded> public method unlock ] { + Method [ <internal:pthreads, inherits Threaded> public method synchronized ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $function ] } } @@ -951,74 +1161,32 @@ Extension [ <persistent> extension #125 pthreads version 2.0.10 ] { } } - Method [ <internal:pthreads, inherits Threaded, prototype Countable> public method count ] { + Method [ <internal:pthreads, inherits Threaded> public method count ] { - Parameters [0] { } } - } - } - - Class [ <internal:pthreads> class Pool ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - Static methods [0] { - } - - - Properties [6] { - Property [ <default> protected $size ] - Property [ <default> protected $class ] - Property [ <default> protected $workers ] - Property [ <default> protected $work ] - Property [ <default> protected $ctor ] - Property [ <default> protected $last ] - } - - - Methods [6] { - Method [ <internal:pthreads, ctor> public method __construct ] { + Method [ <internal:pthreads, inherits Threaded, prototype Collectable> public method isGarbage ] { - - Parameters [3] { - Parameter #0 [ <required> $size ] - Parameter #1 [ <optional> $class ] - Parameter #2 [ <optional> $ctor ] - } - } - - Method [ <internal:pthreads> public method resize ] { - - - Parameters [1] { - Parameter #0 [ <required> $size ] - } - } - - Method [ <internal:pthreads> public method submit ] { - - - Parameters [1] { - Parameter #0 [ <required> $task ] + - Parameters [0] { } + - Return [ boolean ] } - Method [ <internal:pthreads> public method submitTo ] { + Method [ <internal:pthreads, inherits Threaded> public method addRef ] { - - Parameters [2] { - Parameter #0 [ <required> $worker ] - Parameter #1 [ <required> $task ] + - Parameters [0] { } } - Method [ <internal:pthreads> public method collect ] { + Method [ <internal:pthreads, inherits Threaded> public method delRef ] { - - Parameters [1] { - Parameter #0 [ <required> $collector ] + - Parameters [0] { } } - Method [ <internal:pthreads> public method shutdown ] { + Method [ <internal:pthreads, inherits Threaded> public method getRefCount ] { - Parameters [0] { } |