mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user