PHP - Manual: Swoole\Lock::lock
2024-11-13
(PECL swoole >= 1.9.0)
Swoole\Lock::lock — Try to acquire the lock. It will block if the lock is not available.
此函数没有参数。
官方地址:https://www.php.net/manual/en/swoole-lock.lock.php