Skip to content

[core] Implement graceful process termination on Windows #54374

@rueian

Description

@rueian

#ifdef _WIN32
// TODO(mehrdadn): implement graceful process termination mechanism
#else
// Attempt to gracefully shutdown the worker before force killing it.
kill(worker->GetProcess().GetId(), SIGTERM);
#endif

See above, we currently send SIGTERM on non-Windows operating systems when killing a worker, but do nothing on Windows.

It will be great if we can have a SIGTERM equivalent on Windows as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    community-contributionContributed by the communitycoreIssues that should be addressed in Ray Corewindows

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions