From df4aa89a5e7acb315655f193e7f549e8d32367e2 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 13 Jan 2012 05:11:45 +0000 Subject: libgo: Update to weekly.2011-12-22. From-SVN: r183150 --- libgo/runtime/lock_futex.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libgo/runtime/lock_futex.c') diff --git a/libgo/runtime/lock_futex.c b/libgo/runtime/lock_futex.c index 4f3d507..cdc12d7 100644 --- a/libgo/runtime/lock_futex.c +++ b/libgo/runtime/lock_futex.c @@ -2,17 +2,19 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build freebsd linux + #include "runtime.h" // This implementation depends on OS-specific implementations of // -// runtime.futexsleep(uint32 *addr, uint32 val, int64 ns) +// runtime_futexsleep(uint32 *addr, uint32 val, int64 ns) // Atomically, // if(*addr == val) sleep // Might be woken up spuriously; that's allowed. // Don't sleep longer than ns; ns < 0 means forever. // -// runtime.futexwakeup(uint32 *addr, uint32 cnt) +// runtime_futexwakeup(uint32 *addr, uint32 cnt) // If any procs are sleeping on addr, wake up at most cnt. enum -- cgit v1.1