]> Cypherpunks repositories - gostls13.git/commit
runtime: make notetsleep_internal nowritebarrier
authorAustin Clements <austin@google.com>
Fri, 24 Jul 2015 19:38:16 +0000 (15:38 -0400)
committerAustin Clements <austin@google.com>
Mon, 27 Jul 2015 19:58:58 +0000 (19:58 +0000)
commitdff9108d988c3bd1ef323db2938631132f2337fe
treecbfdeee9d6ba3cc0d80fd779899d25a882d93efb
parentcf225a1748a9efe401edd3cf8879692391a31d8b
runtime: make notetsleep_internal nowritebarrier

When notetsleep_internal is called from notetsleepg, notetsleepg has
just given up the P, so write barriers are not allowed in
notetsleep_internal.

Change-Id: I1b214fa388b1ea05b8ce2dcfe1c0074c0a3c8870
Reviewed-on: https://go-review.googlesource.com/12647
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/lock_futex.go