pht\Threaded
PHP Manual

pht\Threaded::lock

(PECL pht >= 0.0.1)

pht\Threaded::lockAcquires the mutex lock

说明

public void pht\Threaded::lock ( void )

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

参数

此函数没有参数。

返回值

No return value.


pht\Threaded
PHP Manual