« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for suspending (0.000 sec.)
ファイバー | PHP 8.3 11228
ファイバー ファイバーの概要 (PHP 8 >= 8.1.0) ファイバー(Fibers) は、完全なスタックを持つ、停止可能な関数です。 ファイバー はコールスタック中のどこからでも停止することができますし、 後に再開されるまで実行を停止したままにできます。 ファイバー ... fiber' ); echo "Value used to resume fiber: " , $value , PHP_EOL ; }); $value = $fiber -> start (); echo "Value from fiber suspending: " , $value , PHP_EOL ; $fiber -> resume ( 'test' ); ?> 上の例の出力は以下となります。 Value from fiber suspending: fiber ...
https://man.mtool.work/php/8.3/language.fibers.html
Swoole\Coroutine\Lock::trylock — Attempt to acquire the lock without blocking |... 7485
Swoole\Coroutine\Lock::trylock (No version information available, might only be in Git) Swoole\Coroutine\Lock::trylock — Attempt to acquire the lock without blocking 説明 public function Swoole\Coroutine\Lock::trylock (): bool When calling ... the lock operation, if the lock is already held by another coroutine, the function will immediately return false without suspending the current coroutine or yielding CPU control. This non-blocking design allows the caller to flexibly handle contention si ...
https://man.mtool.work/php/8.3/swoole-coroutine-lock.trylock.html
PREV 1 NEXT