Extension [ extension #130 pthreads version 3.2.0 ] { - Constants [9] { Constant [ integer PTHREADS_INHERIT_ALL ] { 1118481 } Constant [ integer PTHREADS_INHERIT_NONE ] { 0 } Constant [ integer PTHREADS_INHERIT_INI ] { 1 } Constant [ integer PTHREADS_INHERIT_CONSTANTS ] { 16 } Constant [ integer PTHREADS_INHERIT_CLASSES ] { 4096 } Constant [ integer PTHREADS_INHERIT_FUNCTIONS ] { 256 } Constant [ integer PTHREADS_INHERIT_INCLUDES ] { 65536 } Constant [ integer PTHREADS_INHERIT_COMMENTS ] { 1048576 } Constant [ integer PTHREADS_ALLOW_HEADERS ] { 268435456 } } - Classes [7] { Interface [ interface Collectable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [1] { Method [ abstract public method isGarbage ] { - Parameters [0] { } - Return [ boolean ] } } } Class [ class Threaded implements Traversable, Collectable ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } } - Properties [0] { } - Methods [16] { Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ integer $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method notifyOne ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method merge ] { - Parameters [2] { Parameter #0 [ $from ] Parameter #1 [ $overwrite ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method chunk ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $preserve ] } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method count ] { - Parameters [0] { } } Method [ public method isGarbage ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method addRef ] { - Parameters [0] { } } Method [ public method delRef ] { - Parameters [0] { } } Method [ public method getRefCount ] { - Parameters [0] { } } } } Class [ class Volatile extends Threaded implements Collectable, Traversable ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } } - Properties [0] { } - Methods [16] { Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ integer $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method notifyOne ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method merge ] { - Parameters [2] { Parameter #0 [ $from ] Parameter #1 [ $overwrite ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method chunk ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $preserve ] } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method count ] { - Parameters [0] { } } Method [ public method isGarbage ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method addRef ] { - Parameters [0] { } } Method [ public method delRef ] { - Parameters [0] { } } Method [ public method getRefCount ] { - Parameters [0] { } } } } Class [ class Thread extends Threaded implements Collectable, Traversable ] { - Constants [0] { } - Static properties [0] { } - Static methods [3] { Method [ static public method getCurrentThreadId ] { - Parameters [0] { } } Method [ static public method getCurrentThread ] { - Parameters [0] { } } Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } } - Properties [0] { } - Methods [22] { Method [ public method start ] { - Parameters [1] { Parameter #0 [ integer $options ] } } Method [ public method join ] { - Parameters [0] { } } Method [ public method isStarted ] { - Parameters [0] { } } Method [ public method isJoined ] { - Parameters [0] { } } Method [ public method getThreadId ] { - Parameters [0] { } } Method [ public method getCreatorId ] { - Parameters [0] { } } Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ integer $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method notifyOne ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method merge ] { - Parameters [2] { Parameter #0 [ $from ] Parameter #1 [ $overwrite ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method chunk ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $preserve ] } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method count ] { - Parameters [0] { } } Method [ public method isGarbage ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method addRef ] { - Parameters [0] { } } Method [ public method delRef ] { - Parameters [0] { } } Method [ public method getRefCount ] { - Parameters [0] { } } } } Class [ class Worker extends Thread implements Traversable, Collectable ] { - Constants [0] { } - Static properties [0] { } - Static methods [3] { Method [ static public method getCurrentThreadId ] { - Parameters [0] { } } Method [ static public method getCurrentThread ] { - Parameters [0] { } } Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } } - Properties [0] { } - Methods [29] { Method [ public method shutdown ] { - Parameters [0] { } } Method [ public method stack ] { - Parameters [1] { Parameter #0 [ Threaded $work ] } } Method [ public method unstack ] { - Parameters [0] { } } Method [ public method getStacked ] { - Parameters [0] { } } Method [ public method isShutdown ] { - Parameters [0] { } } Method [ public method collect ] { - Parameters [1] { Parameter #0 [ callable $function ] } } Method [ public method collector ] { - Parameters [1] { Parameter #0 [ Collectable $collectable ] } } Method [ public method start ] { - Parameters [1] { Parameter #0 [ integer $options ] } } Method [ public method join ] { - Parameters [0] { } } Method [ public method isStarted ] { - Parameters [0] { } } Method [ public method isJoined ] { - Parameters [0] { } } Method [ public method getThreadId ] { - Parameters [0] { } } Method [ public method getCreatorId ] { - Parameters [0] { } } Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ integer $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method notifyOne ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method merge ] { - Parameters [2] { Parameter #0 [ $from ] Parameter #1 [ $overwrite ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method chunk ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $preserve ] } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method count ] { - Parameters [0] { } } Method [ public method isGarbage ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method addRef ] { - Parameters [0] { } } Method [ public method delRef ] { - Parameters [0] { } } Method [ public method getRefCount ] { - Parameters [0] { } } } } Class [ class Pool ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [5] { Property [ protected $size ] Property [ protected $class ] Property [ protected $workers ] Property [ protected $ctor ] Property [ protected $last ] } - Methods [6] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ integer $size ] Parameter #1 [ string $class ] Parameter #2 [ array $ctor ] } } Method [ public method resize ] { - Parameters [1] { Parameter #0 [ integer $size ] } } Method [ public method submit ] { - Parameters [1] { Parameter #0 [ Threaded $task ] } } Method [ public method submitTo ] { - Parameters [2] { Parameter #0 [ integer $worker ] Parameter #1 [ Threaded $task ] } } Method [ public method collect ] { - Parameters [1] { Parameter #0 [ callable $collector ] } } Method [ public method shutdown ] { - Parameters [0] { } } } } Class [ 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 [3] { Method [ static public method select ] { - Parameters [6] { Parameter #0 [ array or NULL &$read ] Parameter #1 [ array or NULL &$write ] Parameter #2 [ array or NULL &$except ] Parameter #3 [ integer or NULL $sec ] Parameter #4 [ integer $usec ] Parameter #5 [ integer or NULL &$error ] } } Method [ static public method strerror ] { - Parameters [1] { Parameter #0 [ integer $error ] } - Return [ string or NULL ] } Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } } - Properties [0] { } - Methods [34] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ integer $domain ] Parameter #1 [ integer $type ] Parameter #2 [ integer $protocol ] } } Method [ public method setOption ] { - Parameters [3] { Parameter #0 [ integer $level ] Parameter #1 [ integer $name ] Parameter #2 [ integer $value ] } - Return [ boolean ] } Method [ public method getOption ] { - Parameters [2] { Parameter #0 [ integer $level ] Parameter #1 [ integer $name ] } - Return [ integer ] } Method [ public method bind ] { - Parameters [2] { Parameter #0 [ string $host ] Parameter #1 [ integer $port ] } - Return [ boolean ] } Method [ public method listen ] { - Parameters [1] { Parameter #0 [ integer $backlog ] } - Return [ boolean ] } Method [ public method accept ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ public method connect ] { - Parameters [2] { Parameter #0 [ string $host ] Parameter #1 [ integer $port ] } - Return [ boolean ] } Method [ public method read ] { - Parameters [3] { Parameter #0 [ integer $length ] Parameter #1 [ integer $flags ] Parameter #2 [ integer $type ] } } Method [ public method write ] { - Parameters [2] { Parameter #0 [ string $buffer ] Parameter #1 [ integer $length ] } } Method [ public method send ] { - Parameters [3] { Parameter #0 [ string $buffer ] Parameter #1 [ integer $length ] Parameter #2 [ integer $flags ] } } Method [ public method recvfrom ] { - Parameters [5] { Parameter #0 [ string or NULL &$buffer ] Parameter #1 [ integer $length ] Parameter #2 [ integer $flags ] Parameter #3 [ string or NULL &$name ] Parameter #4 [ integer or NULL &$port ] } } Method [ public method sendto ] { - Parameters [5] { Parameter #0 [ string $buffer ] Parameter #1 [ integer $length ] Parameter #2 [ integer $flags ] Parameter #3 [ string $addr ] Parameter #4 [ integer $port ] } } Method [ public method setBlocking ] { - Parameters [1] { Parameter #0 [ boolean $blocking ] } - Return [ boolean ] } Method [ public method getPeerName ] { - Parameters [1] { Parameter #0 [ boolean $port ] } - Return [ array ] } Method [ public method getSockName ] { - Parameters [1] { Parameter #0 [ boolean $port ] } - Return [ array ] } Method [ public method close ] { - Parameters [0] { } } Method [ public method getLastError ] { - Parameters [1] { Parameter #0 [ boolean $clear ] } } Method [ public method clearError ] { - Parameters [0] { } } Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ integer $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method notifyOne ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method merge ] { - Parameters [2] { Parameter #0 [ $from ] Parameter #1 [ $overwrite ] } } Method [ public method shift ] { - Parameters [0] { } } Method [ public method chunk ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $preserve ] } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method count ] { - Parameters [0] { } } Method [ public method isGarbage ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method addRef ] { - Parameters [0] { } } Method [ public method delRef ] { - Parameters [0] { } } Method [ public method getRefCount ] { - Parameters [0] { } } } } } }