pht\Threaded::lock

(PECL pht >= 0.0.1)

pht\Threaded::lockAcquires the mutex lock

Description

public pht\Threaded::lock ( void ) : void

This method will acquire the mutex lock associated with the given class (either a pht\HashTable, pht\Queue, pht\Vector, or pht\AtomicInteger).

Parameters

This function has no parameters.

Return Values

No return value.