From 616b7afb724a32df41eebfaf95402d008c60b411 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 8 Sep 2010 19:13:49 -0700 Subject: Tidy up the sync dir, remove dead or mis-designed code in favour of OS primitives, switch rust_kernel to use a lock/signal pair and wait rather than spin. --- src/rt/rust_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_internal.h') diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index c327f8c0..0913f967 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -42,7 +42,7 @@ extern "C" { #include "util/hash_map.h" #include "sync/sync.h" #include "sync/timer.h" -#include "sync/condition_variable.h" +#include "sync/lock_and_signal.h" #include "sync/lock_free_queue.h" class rust_dom; -- cgit v1.2.3