]> Cypherpunks repositories - gostls13.git/commit
runtime: disable preemption during runtime.settype
authorRuss Cox <rsc@golang.org>
Fri, 19 Jul 2013 02:58:49 +0000 (22:58 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 19 Jul 2013 02:58:49 +0000 (22:58 -0400)
commitdf3e6ce4b1df508624082d31abb24300f9057b86
tree18b8d35ce078489d882fae9e73c958f84df18881
parentb2b15d1230f3b4f669b5dd171c31e1b081bffede
runtime: disable preemption during runtime.settype

It assumes that the m will not change, and the m may
change if the goroutine is preempted.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11560043
src/pkg/runtime/malloc.goc