编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 channel classphp swoole the swoole lock classphp swoole the swoole serialize classphp db++ 函数 release write lock on tuplephp swoole atomic subtract a number to the value of the atomic object.php swoole buffer release the memory to os which is not used by the memory buffer.php swoole client close the connection established.php swoole client remove the tcp client from system event loop.php swoole coroutine descriptionphp swoole coroutine descriptionphp swoole coroutine call a callback with an array of parametersphp swoole http client construct the async http client.php swoole http request get the raw http post body.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号