Add signal stubs (#4270)

os: init signal ignore stub and add other stubs

Signed-off-by: leongross <leon.gross@9elements.com>
This commit is contained in:
leongross
2024-06-02 09:52:31 +02:00
committed by GitHub
parent bfccf3592a
commit 20b58a0128
2 changed files with 19 additions and 0 deletions
+5
View File
@@ -72,3 +72,8 @@ func (p *Process) Kill() error {
func (p *Process) Signal(sig Signal) error {
return ErrNotImplemented
}
func Ignore(sig ...Signal) {
// leave all the signals unaltered
return
}