Worker::shutdown
Worker::start
Worker
PHP Manual

# Worker::stack

(PECL pthreads >= 0.36)

Worker::stack — Stacking

### Opis

final public int Worker::stack ( Stackable `$work` )

Appends the referenced Stackable to the stack of the referenced Worker

### Parametry

`work`

  An object of type Stackable to be executed by the referenced Worker

### Zwracane wartości

The new length of the stack

Worker::shutdown
Worker::start
Worker
PHP Manual