Add archive helpers and harden task runtime
This commit is contained in:
@@ -13,7 +13,9 @@ task_pid
|
||||
task_repeat
|
||||
|
||||
:content
|
||||
Wraps the standard POSIX `kill()` function.
|
||||
Wraps the standard POSIX `kill()` function for positive process IDs.
|
||||
|
||||
`task_kill()` rejects `pid <= 0` and returns `-1`, so callers cannot accidentally use POSIX process-group or broadcast semantics through this helper.
|
||||
|
||||
`sig` may be any supported POSIX signal, including values such as `SIGTERM`, `SIGKILL`, `SIGINT`, `SIGUSR1`, `SIGUSR2`, `SIGCHLD`, `SIGCONT`, and related process-control signals.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user