The Threaded interface

(PECL pht >= 0.0.1)

Introdução

The pht\Threaded interface is an internal interface used by the Inter-Thread Communication (ITC) data structures (pht\HashTable, pht\Queue, and pht\Vector). It allows those data structures to be threaded and ensures that the mutex locking API (pht\Threaded::lock() and pht\Threaded::unlock()) is implemented by each of the ITC data structures. It is not implementable by userland classes (since standalone mutex locks are not exposed).

Resumo da Interface

pht\Threaded {
/* Métodos */
public lock ( ) : void
public unlock ( ) : void
}

Índice

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top