From 1bb8f19f5e9016a9eb118b8aba2b5689b4505812 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 3 Oct 2009 10:37:12 -0700 Subject: 8c, 8l dynamic loading support. better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304 --- src/pkg/runtime/linux/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/runtime/linux/thread.c') diff --git a/src/pkg/runtime/linux/thread.c b/src/pkg/runtime/linux/thread.c index a1d927c7b..fd488d4da 100644 --- a/src/pkg/runtime/linux/thread.c +++ b/src/pkg/runtime/linux/thread.c @@ -92,7 +92,7 @@ futexwakeup(uint32 *addr) // // A reminder: compare-and-swap cas(addr, old, new) does // if(*addr == old) { *addr = new; return 1; } -// else return 0; +// else return 0; // but atomically. static void -- cgit v1.2.3