Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing errno after wait #5218

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Commits on Dec 14, 2023

  1. Fixing errno after wait

    There is a bug in Swoole's event loop that causes warning messages for things that shouldn't be warnings.
    The line "if (errno > 0 && errno != EINTR)" is expecting the global variable "errno" to be set by wait system call in the inline function "wait_process", but instead errno is getting overwritten by the "spawn_task_worker" or "spawn_event_worker methods" of the server.
    JacobBrownAustin committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    335e3f5 View commit details
    Browse the repository at this point in the history