Swoole\Coroutine\Lock::unlock
(No version information available, might only be in Git)
Swoole\Coroutine\Lock::unlock — Release the lock
Description
Unlock Behavior
-
With io_uring futex: the system will precisely wake up one coroutine in the waiting queue.
-
Without io_uring futex: waiting coroutines need to wait for their backoff time to end and compete to reacquire the lock.
Parameters
This function has no parameters.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
