We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfccf35 commit 20b58a0Copy full SHA for 20b58a0
src/os/exec.go
@@ -72,3 +72,8 @@ func (p *Process) Kill() error {
72
func (p *Process) Signal(sig Signal) error {
73
return ErrNotImplemented
74
}
75
+
76
+func Ignore(sig ...Signal) {
77
+ // leave all the signals unaltered
78
+ return
79
+}
src/os/signal/signal.go
@@ -0,0 +1,14 @@
1
+// Copyright 2012 The Go Authors. All rights reserved.
2
+// Use of this source code is governed by a BSD-style
3
+// license that can be found in the LICENSE file.
4
5
+package signal
6
7
+import (
8
+ "os"
9
+)
10
11
+// Just stubbing the functions for now since signal handling is not yet implemented in tinygo
12
+func Reset(sig ...os.Signal) {}
13
+func Ignore(sig ...os.Signal) {}
14
+func Notify(c chan<- os.Signal, sig ...os.Signal) {}
0 commit comments