From: Anthony Martin Date: Sat, 18 May 2013 22:47:49 +0000 (-0700) Subject: runtime: mark usleep as NOSPLIT on Plan 9 X-Git-Tag: go1.2rc2~1479 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8b85a3d480d63c2700ac556f183fc05280380fab;p=gostls13.git runtime: mark usleep as NOSPLIT on Plan 9 Usleep is called from lockextra, also marked NOSPLIT. R=golang-dev, r CC=golang-dev https://golang.org/cl/9258043 --- diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index c7ed59fc93..53ec4ae176 100644 --- a/src/pkg/runtime/os_plan9.c +++ b/src/pkg/runtime/os_plan9.c @@ -122,6 +122,7 @@ runtime·osyield(void) runtime·sleep(0); } +#pragma textflag 7 void runtime·usleep(uint32 µs) {