Extension [ extension #125 pthreads version 2.0.10 ] { - Constants [10] { 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 } Constant [ integer PTHREADS_ALLOW_GLOBALS ] { 16777216 } } - Classes [8] { Class [ class Threaded implements Traversable, Countable ] { - Constants [0] { } - Static properties [0] { } - Static methods [2] { Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ static public method from ] { - Parameters [3] { Parameter #0 [ Closure $run ] Parameter #1 [ Closure or NULL $construct ] Parameter #2 [ $args ] } } } - Properties [0] { } - Methods [15] { Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isWaiting ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method getTerminationInfo ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method lock ] { - Parameters [0] { } } Method [ public method unlock ] { - Parameters [0] { } } 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] { } } } } Class [ class Threaded implements Traversable, Countable ] { - Constants [0] { } - Static properties [0] { } - Static methods [2] { Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ static public method from ] { - Parameters [3] { Parameter #0 [ Closure $run ] Parameter #1 [ Closure or NULL $construct ] Parameter #2 [ $args ] } } } - Properties [0] { } - Methods [15] { Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isWaiting ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method getTerminationInfo ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method lock ] { - Parameters [0] { } } Method [ public method unlock ] { - Parameters [0] { } } 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] { } } } } Class [ class Thread extends Threaded implements Countable, Traversable ] { - Constants [0] { } - Static properties [0] { } - Static methods [5] { Method [ static public method getCurrentThreadId ] { - Parameters [0] { } } Method [ static public method getCurrentThread ] { - Parameters [0] { } } Method [ static public method globally ] { - Parameters [2] { Parameter #0 [ $block ] Parameter #1 [ $args ] } } Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ static public method from ] { - Parameters [3] { Parameter #0 [ Closure $run ] Parameter #1 [ Closure or NULL $construct ] Parameter #2 [ $args ] } } } - Properties [0] { } - Methods [23] { Method [ public method start ] { - Parameters [1] { Parameter #0 [ $options ] } } Method [ public method join ] { - Parameters [0] { } } Method [ public method detach ] { - 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 kill ] { - Parameters [0] { } } Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isWaiting ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method getTerminationInfo ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method lock ] { - Parameters [0] { } } Method [ public method unlock ] { - Parameters [0] { } } 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] { } } } } Class [ class Worker extends Thread implements Traversable, Countable ] { - Constants [0] { } - Static properties [0] { } - Static methods [5] { Method [ static public method getCurrentThreadId ] { - Parameters [0] { } } Method [ static public method getCurrentThread ] { - Parameters [0] { } } Method [ static public method globally ] { - Parameters [2] { Parameter #0 [ $block ] Parameter #1 [ $args ] } } Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ static public method from ] { - Parameters [3] { Parameter #0 [ Closure $run ] Parameter #1 [ Closure or NULL $construct ] Parameter #2 [ $args ] } } } - Properties [0] { } - Methods [29] { Method [ public method shutdown ] { - Parameters [0] { } } Method [ public method stack ] { - Parameters [1] { Parameter #0 [ &$work ] } } Method [ public method unstack ] { - Parameters [1] { Parameter #0 [ &$work ] } } Method [ public method getStacked ] { - Parameters [0] { } } Method [ public method isShutdown ] { - Parameters [0] { } } Method [ public method isWorking ] { - Parameters [0] { } } Method [ public method start ] { - Parameters [1] { Parameter #0 [ $options ] } } Method [ public method join ] { - Parameters [0] { } } Method [ public method detach ] { - 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 kill ] { - Parameters [0] { } } Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isWaiting ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method getTerminationInfo ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method lock ] { - Parameters [0] { } } Method [ public method unlock ] { - Parameters [0] { } } 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] { } } } } Class [ class Mutex ] { - Constants [0] { } - Static properties [0] { } - Static methods [5] { Method [ final static public method create ] { - Parameters [1] { Parameter #0 [ $lock ] } } Method [ final static public method lock ] { - Parameters [1] { Parameter #0 [ $mutex ] } } Method [ final static public method trylock ] { - Parameters [1] { Parameter #0 [ $mutex ] } } Method [ final static public method unlock ] { - Parameters [2] { Parameter #0 [ $mutex ] Parameter #1 [ $destroy ] } } Method [ final static public method destroy ] { - Parameters [1] { Parameter #0 [ $mutex ] } } } - Properties [0] { } - Methods [1] { Method [ final public method __construct ] { - Parameters [0] { } } } } Class [ class Cond ] { - Constants [0] { } - Static properties [0] { } - Static methods [5] { Method [ final static public method create ] { - Parameters [0] { } } Method [ final static public method signal ] { - Parameters [1] { Parameter #0 [ $condition ] } } Method [ final static public method wait ] { - Parameters [3] { Parameter #0 [ $condition ] Parameter #1 [ $mutex ] Parameter #2 [ $timeout ] } } Method [ final static public method broadcast ] { - Parameters [1] { Parameter #0 [ $condition ] } } Method [ final static public method destroy ] { - Parameters [1] { Parameter #0 [ $condition ] } } } - Properties [0] { } - Methods [1] { Method [ final public method __construct ] { - Parameters [0] { } } } } Class [ class Collectable extends Threaded implements Countable, Traversable ] { - Constants [0] { } - Static properties [0] { } - Static methods [2] { Method [ static public method extend ] { - Parameters [1] { Parameter #0 [ $class ] } } Method [ static public method from ] { - Parameters [3] { Parameter #0 [ Closure $run ] Parameter #1 [ Closure or NULL $construct ] Parameter #2 [ $args ] } } } - Properties [1] { Property [ protected $garbage ] } - Methods [17] { Method [ public method isGarbage ] { - Parameters [0] { } } Method [ public method setGarbage ] { - Parameters [0] { } } Method [ public method run ] { - Parameters [0] { } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method notify ] { - Parameters [0] { } } Method [ public method isRunning ] { - Parameters [0] { } } Method [ public method isWaiting ] { - Parameters [0] { } } Method [ public method isTerminated ] { - Parameters [0] { } } Method [ public method getTerminationInfo ] { - Parameters [0] { } } Method [ public method synchronized ] { - Parameters [1] { Parameter #0 [ $function ] } } Method [ public method lock ] { - Parameters [0] { } } Method [ public method unlock ] { - Parameters [0] { } } 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] { } } } } Class [ class Pool ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [6] { Property [ protected $size ] Property [ protected $class ] Property [ protected $workers ] Property [ protected $work ] Property [ protected $ctor ] Property [ protected $last ] } - Methods [6] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $size ] Parameter #1 [ $class ] Parameter #2 [ $ctor ] } } Method [ public method resize ] { - Parameters [1] { Parameter #0 [ $size ] } } Method [ public method submit ] { - Parameters [1] { Parameter #0 [ $task ] } } Method [ public method submitTo ] { - Parameters [2] { Parameter #0 [ $worker ] Parameter #1 [ $task ] } } Method [ public method collect ] { - Parameters [1] { Parameter #0 [ $collector ] } } Method [ public method shutdown ] { - Parameters [0] { } } } } } }