aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stubs2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stubs2.go')
-rw-r--r--src/runtime/stubs2.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/stubs2.go b/src/runtime/stubs2.go
index 85088b3ab9..96096d236b 100644
--- a/src/runtime/stubs2.go
+++ b/src/runtime/stubs2.go
@@ -23,6 +23,11 @@ func closefd(fd int32) int32
func exit(code int32)
func usleep(usec uint32)
+//go:nosplit
+func usleep_no_g(usec uint32) {
+ usleep(usec)
+}
+
// write calls the write system call.
// It returns a non-negative number of bytes written or a negative errno value.
//go:noescape