summaryrefslogtreecommitdiff
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
commit2f5cc193d9daa4c45f45f6c23fd5990d050bd9ec (patch)
treee7802e66ac54d0fca77bab86c3803f1e224c629b /src/runtime/futex_test.go
parente67e97309976d8397061c94c8416bafc11f94b02 (diff)
downloadgo-2f5cc193d9daa4c45f45f6c23fd5990d050bd9ec.tar.gz
[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://codereview.appspot.com/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 f57fc52b8..b85249a54 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)
}