« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for uring (0.001 sec.)
The Swoole\Coroutine\Lock class | PHP 8.3 10677
The Swoole\Coroutine\Lock class (No version information available, might only be in Git) はじめに Swoole 6.0.1 introduced a coroutine lock that supports inter-process and inter-thread sharing. This lock is designed with non-blocking behavio ... bles efficient coroutine synchronization in multi-process and multi-thread environments. When compiled with the --enable-iouring option and the Linux kernel supports the io_uring futex feature, Swoole's coroutine lock implements synchronization using ... io_uring futex . In this case, coroutines wait for lock wakeups using an efficient queuing mechanism, significantly improving perfo ... rmance. Without io_uring futex , the coroutine lock falls back to an exponential backoff sleep mechanism, where the wait time increases by 2^n mill ...
https://man.mtool.work/php/8.3/class.swoole-coroutine-lock.html
Swoole\Coroutine\Lock::unlock — Release the lock | PHP 8.3 10528
Swoole\Coroutine\Lock::unlock (No version information available, might only be in Git) Swoole\Coroutine\Lock::unlock — Release the lock 説明 public function Swoole\Coroutine\Lock::unlock (): bool Unlock Behavior With io_uring futex: the sys ... tem 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. パラメータ この関数 ...
https://man.mtool.work/php/8.3/swoole-coroutine-lock.unlock.html
定義済み定数 | PHP 8.3 6659
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SWOOLE_VERSION ( string ) Swoole version. SWOOLE_VERSION_ID ( int ) Swoole ve ... he listen method must be called to specify the address and port to monitor. SWOOLE_IOV_MAX ( int ) MAX iov limit. SWOOLE_IOURING_DEFAULT ( int ) In interrupt-driven mode, I/O requests can be submitted via the io_uring_enter syscall, and completion is ... determined by directly checking the completion queue status. SWOOLE_IOURING_SQPOLL ( int ) In kernel polling mode, the kernel creates dedicated threads to submit and reap I/O requests, nearly elimin ...
https://man.mtool.work/php/8.3/swoole.constants.html
PREV 1 NEXT