PHP - Manual: Swoole\Lock::trylock_read
2024-12-22
(PECL swoole >= 1.9.0)
Swoole\Lock::trylock_read — Try to lock a read-write lock for reading and return straight away even the lock is not available.
此函数没有参数。
官方地址:https://www.php.net/manual/en/swoole-lock.trylock-read.php