]> Cypherpunks repositories - gostls13.git/commit
runtime: let freezetheworld work even when gomaxprocs=1
authorKeith Randall <khr@golang.org>
Thu, 30 Apr 2015 21:56:35 +0000 (14:56 -0700)
committerKeith Randall <khr@golang.org>
Tue, 5 May 2015 15:11:10 +0000 (15:11 +0000)
commit5a828cfcde20c25b9b3a3387159a77eb084383b8
treebc89d66ab102f80a9f77a941ecd504549c447fbe
parent055ecb7be5805e07498488c59c6f01644fdacccc
runtime: let freezetheworld work even when gomaxprocs=1

Freezetheworld still has stuff to do when gomaxprocs=1.
In particular, signals can come in on other Ms (like the GC M, say)
and the single user M is still running.

Fixes #10546

Change-Id: I2f07f17d1c81e93cf905df2cb087112d436ca7e7
Reviewed-on: https://go-review.googlesource.com/9551
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/runtime/proc1.go