]> Cypherpunks repositories - gostls13.git/commit
runtime: relax preemption assertion during stack split
authorRuss Cox <rsc@golang.org>
Mon, 28 Oct 2013 23:40:40 +0000 (19:40 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 28 Oct 2013 23:40:40 +0000 (19:40 -0400)
commit00a757fb74c211513771338fe84ef195d3aa9d55
treed2690d5186c419316463751ce8fbee3fadeb3761
parent5644774ea5c954a08c1e068be9771429a232ca7c
runtime: relax preemption assertion during stack split

The case can happen when starttheworld is calling acquirep
to get things moving again and acquirep gets preempted.
The stack trace is in golang.org/issue/6644.

It is difficult to build a short test case for this, but
the person who reported issue 6644 confirms that this
solves the problem.

Fixes #6644.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/18740044
src/pkg/runtime/stack.c