Please wait while we load your page...

Tools

PHP Manual [The Queue class]

Protect Your Website Today


PHP Manual || pht

(PECL pht >= 0.0.1)

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.

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


PHP Manual || pht