docs(src): fix some doxygen warnings (#2731)
This commit is contained in:
parent
429019e47b
commit
f3abf59fbf
12 changed files with 15 additions and 74 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue