From 8b85a3d480d63c2700ac556f183fc05280380fab Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Sat, 18 May 2013 15:47:49 -0700 Subject: [PATCH] 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 --- src/pkg/runtime/os_plan9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index c7ed59fc932..53ec4ae176f 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) {