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

This commit is contained in:
ReenigneArcher authored and GitHub committed 2024-06-20 01:36:09 +00:00
1 parent 429019e47b
commit f3abf59fbf
12 files changed
+15 -74

No files matched your search

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