diff options
Diffstat (limited to 'src/runtime/sigqueue.go')
| -rw-r--r-- | src/runtime/sigqueue.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sigqueue.go b/src/runtime/sigqueue.go index 82ead228fa..4b97745a23 100644 --- a/src/runtime/sigqueue.go +++ b/src/runtime/sigqueue.go @@ -67,7 +67,7 @@ Send: for { switch atomicload(&sig.state) { default: - gothrow("sigsend: inconsistent state") + throw("sigsend: inconsistent state") case sigIdle: if cas(&sig.state, sigIdle, sigSending) { break Send @@ -103,7 +103,7 @@ func signal_recv() uint32 { for { switch atomicload(&sig.state) { default: - gothrow("signal_recv: inconsistent state") + throw("signal_recv: inconsistent state") case sigIdle: if cas(&sig.state, sigIdle, sigReceiving) { notetsleepg(&sig.note, -1) |
