pht
PHP Manual

The Queue class

(PECL pht >= 0.0.1)

Introduction

The pht\Queue class is one of the Inter-Thread Communication (ITC) data structures exposed by pht. It can be safely passed around between threads, and manipulated by multiple threads using the mutex locks that have been packed in with the data structure. It is reference-counted across threads, and so it does not need to be explicitly destroyed.

Synopsis de la classe

pht\Queue implements pht\Threaded {
/* Méthodes */
public mixed front ( void )
public void lock ( void )
public mixed pop ( void )
public void push ( mixed $value )
public int size ( void )
public void unlock ( void )
}

Sommaire


pht
PHP Manual