From 00d1465d13980fc3acf650f182ee0723fbda0e06 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Mon, 19 Jul 2010 14:05:18 -0700 Subject: Added a message passing system based on lock free queues for inter-thread communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes. --- src/rt/rust_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rt/rust_util.h') diff --git a/src/rt/rust_util.h b/src/rt/rust_util.h index 6f34dad9..62ac7de2 100644 --- a/src/rt/rust_util.h +++ b/src/rt/rust_util.h @@ -5,7 +5,7 @@ template rc_base::rc_base() : - refcnt(1) + ref_count(1) { } @@ -85,7 +85,7 @@ ptr_vec::trim(size_t sz) template void -ptr_vec::swapdel(T *item) +ptr_vec::swap_delete(T *item) { /* Swap the endpoint into i and decr fill. */ I(dom, data); -- cgit v1.2.3