mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
single argument panic on non-darwin and in comments
R=r CC=golang-dev https://golang.org/cl/800042
This commit is contained in:
parent
ac58f646ac
commit
1231382b9e
6 changed files with 12 additions and 12 deletions
|
|
@ -430,7 +430,7 @@ func (t *thread) wait() {
|
|||
t.logTrace("beginning wait")
|
||||
ev.Waitmsg, ev.err = os.Wait(t.tid, syscall.WALL)
|
||||
if ev.err == nil && ev.Pid != t.tid {
|
||||
panic("Wait returned pid ", ev.Pid, " wanted ", t.tid)
|
||||
panic(fmt.Sprint("Wait returned pid ", ev.Pid, " wanted ", t.tid))
|
||||
}
|
||||
if ev.StopSignal() == syscall.SIGSTOP && t.ignoreNextSigstop {
|
||||
// Spurious SIGSTOP. See Thread.Stop().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue