mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-03-07 00:38:12 +00:00
docs(src): fix some doxygen warnings (#2731)
This commit is contained in:
@ -326,11 +326,6 @@ namespace platf {
|
||||
lifetime::exit_sunshine(0, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Attempt to gracefully terminate a process group.
|
||||
* @param native_handle The process group ID.
|
||||
* @return true if termination was successfully requested.
|
||||
*/
|
||||
bool
|
||||
request_process_group_exit(std::uintptr_t native_handle) {
|
||||
if (kill(-((pid_t) native_handle), SIGTERM) == 0 || errno == ESRCH) {
|
||||
@ -343,11 +338,6 @@ namespace platf {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Checks if a process group still has running children.
|
||||
* @param native_handle The process group ID.
|
||||
* @return true if processes are still running.
|
||||
*/
|
||||
bool
|
||||
process_group_running(std::uintptr_t native_handle) {
|
||||
return waitpid(-((pid_t) native_handle), nullptr, WNOHANG) >= 0;
|
||||
|
||||
Reference in New Issue
Block a user