编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « pht\Threaded
  • pht\Threaded::unlock »
  • PHP Manual
  • pht\Threaded
  • Acquires the mutex lock

pht\Threaded::lock

(PECL pht >= 0.0.1)

pht\Threaded::lock — Acquires the mutex lock

说明

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

参数

此函数没有参数。

返回值

No return value.

相关文章
php pthreads mutex 类php pht the threaded interfacephp eventbuffer acquires a lock on bufferphp cubrid 函数 set a write lock on the given oidphp wincache 函数 acquires an exclusive lock on a given keyphp pht 简介php mutex 销毁互斥量php pht atomicinteger acquires the atomic integer s mutex lockphp pht atomicinteger releases the atomic integer s mutex lockphp pht hashtable acquires the hash table s mutex lockphp pht hashtable releases the hash table s mutex lockphp pht queue acquires the queue s mutex lockphp pht queue releases the queue s mutex lockphp pht runnable the entry point of a threaded classphp pht threaded acquires the mutex lockphp pht threaded releases the mutex lockphp pht vector vector creationphp pht vector acquires the vector s mutex lockphp pht vector releases the vector s mutex lockphp threaded 同步控制
关注编程学问公众号
编程学问网 湘ICP备20001732号