]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: mark usleep as NOSPLIT on Plan 9
authorAnthony Martin <ality@pbrane.org>
Sat, 18 May 2013 22:47:49 +0000 (15:47 -0700)
committerAnthony Martin <ality@pbrane.org>
Sat, 18 May 2013 22:47:49 +0000 (15:47 -0700)
Usleep is called from lockextra, also marked NOSPLIT.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9258043

src/pkg/runtime/os_plan9.c

index c7ed59fc9326d963cf8e6550c19894f7a0a7f283..53ec4ae176ffe6e231f8635fbced46b65f337231 100644 (file)
@@ -122,6 +122,7 @@ runtime·osyield(void)
        runtime·sleep(0);
 }
 
+#pragma textflag 7
 void
 runtime·usleep(uint32 µs)
 {