编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Lock::trylock
  • Swoole\Mmap »
  • PHP Manual
  • Swoole\Lock
  • Release the lock.

Swoole\Lock::unlock

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Lock::unlock — Release the lock.

说明

public Swoole\Lock::unlock ( void ) : void

参数

此函数没有参数。

返回值

相关文章
php swoole the swoole coroutine classphp swoole the swoole lock classphp swoole the swoole timer classphp db++ 函数 release write lock on tuplephp db++ 函数 get a write lock on a tuplephp db++ 函数 request exclusive lock on relationphp swoole 函数 update the async i/o optionsphp swoole 函数 select the file descriptions which are ready to read/write or error in the eventloopphp pht atomicinteger acquires the atomic integer s mutex lockphp swoole buffer fixed size memory blocks allocation.php swoole buffer release the memory to os which is not used by the memory buffer.php swoole client destruct the swoole client.php swoole connection iterator return current connection entry.php swoole lock construct a memory lock.php swoole lock destory a swoole memory lock.php swoole lock lock a read write lock for reading.php swoole lock try to acquire the lock. it will block if the lock is not available.php swoole lock try to lock a read write lock for reading and return straight away even the lock is not available.php swoole lock try to acquire the lock and return straight away even the lock is not available.php swoole lock release the lock.
关注编程学问公众号
编程学问网 湘ICP备20001732号