Php/docs/pht-threaded.lock

来自菜鸟教程
跳转至:导航、​搜索

pht\Threaded::lock

(PECL pht >= 0.0.1)

pht\Threaded::lockAcquires the mutex lock


说明

public 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.