diff options
Diffstat (limited to 'libgo/runtime/sigqueue.goc')
-rw-r--r-- | libgo/runtime/sigqueue.goc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgo/runtime/sigqueue.goc b/libgo/runtime/sigqueue.goc index 3a908680ece..502dc442c83 100644 --- a/libgo/runtime/sigqueue.goc +++ b/libgo/runtime/sigqueue.goc @@ -81,9 +81,9 @@ __go_sigsend(int32 s) // Called to receive a bitmask of queued signals. func Sigrecv() (m uint32) { - // runtime·entersyscall(); + runtime_entersyscall(); runtime_notesleep(&sig); - // runtime·exitsyscall(); + runtime_exitsyscall(); runtime_noteclear(&sig); for(;;) { m = sig.mask; @@ -110,5 +110,6 @@ func Signame(sig int32) (name String) { } func Siginit() { + runtime_initsig(1); sig.inuse = true; // enable reception of signals; cannot disable } |