Swoole\Lock::lock
(PECL swoole >= 1.9.0)
Swoole\Lock::lock — Try to acquire the lock. It will block if the lock is not available.
Description
Parameters
This function has no parameters.
Return Values
↑ and ↓ to navigate • Enter to select • Esc to close • / to open