aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/futex_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-11-11 17:08:33 -0500
committerRuss Cox <rsc@golang.org>2014-11-11 17:08:33 -0500
commitb2cdf30eb6c4a76504956aaaad47df969274296b (patch)
treec519fc491ccc78615ca3318574ad0168114223ed /src/runtime/futex_test.go
parent59e3e5354d7fbb896022eb5bf57e8ad850c42dd1 (diff)
downloadgo-b2cdf30eb6c4a76504956aaaad47df969274296b.tar.gz
go-b2cdf30eb6c4a76504956aaaad47df969274296b.zip
[dev.cc] runtime: convert scheduler from C to Go
The conversion was done with an automated tool and then modified only as necessary to make it compile and run. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r, daniel.morsing CC=austin, dvyukov, golang-codereviews, iant, khr https://golang.org/cl/172260043
Diffstat (limited to 'src/runtime/futex_test.go')
-rw-r--r--src/runtime/futex_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/futex_test.go b/src/runtime/futex_test.go
index f57fc52b8d..b85249a548 100644
--- a/src/runtime/futex_test.go
+++ b/src/runtime/futex_test.go
@@ -44,9 +44,9 @@ func TestFutexsleep(t *testing.T) {
start := time.Now()
for _, tt := range futexsleepTests {
go func(tt futexsleepTest) {
- runtime.Entersyscall()
+ runtime.Entersyscall(0)
runtime.Futexsleep(&tt.mtx, tt.mtx, tt.ns)
- runtime.Exitsyscall()
+ runtime.Exitsyscall(0)
tt.ch <- tt
}(tt)
}