You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
I ran a simple http server script using swoole 6 and SWOOLE_THREAD mode with coroutine option disabled. The $server->taskWaitMulti does not make onTask callback running. It work normally in SWOOLE_PROCESS and SWOOLE_THREAD with coroutine enabled.
1. What did you do? If possible, provide a simple script for reproducing the error.
Issue:
I ran a simple http server script using swoole 6 and SWOOLE_THREAD mode with coroutine option disabled. The $server->taskWaitMulti does not make onTask callback running. It work normally in SWOOLE_PROCESS and SWOOLE_THREAD with coroutine enabled.
1. What did you do? If possible, provide a simple script for reproducing the error.
I ran this script with Swoole 6
2. What did you expect to see?
var_dump($data) of onTask callback show data to console.
3. What did you see instead?
It does not run any thing and cause request to hang.
4. What version of Swoole are you using (show your php --ri swoole)?
5. What is your machine environment used (show your
uname -a
&php -v
&gcc -v
) ?uname -a
Darwin Tams-MacBook-Pro.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:03:40 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6041 arm64
php -v
gcc -v
The text was updated successfully, but these errors were encountered: