Skip to content

Feedback on page SDL3/SDL_KillProcess #717

@icculus

Description

@icculus

A graceful shutdown is asynchronous, and these docs should probably note that

a) the return value just means an attempt to kill was made (the process still existed when you tried to kill it and you have permission to do so)
b) a graceful shutdown probably needs to go back to SDL_WaitProcess to see if it actually dies and
c) a forceful shutdown ...still doesn't wait for termination here...?
d) bonus: in some situations (a process hung inside a buggy kernel driver, etc), even forceful killing of something you own might not be enough.

Some version of that info that matches reality should probably be added to these docs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions