docs(src): fix some doxygen warnings (#2731)

This commit is contained in:
ReenigneArcher 2024-06-19 21:36:09 -04:00 committed by GitHub
commit f3abf59fbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 15 additions and 74 deletions

View file

@ -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;