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_crate_cache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rt/rust_crate_cache.cpp') diff --git a/src/rt/rust_crate_cache.cpp b/src/rt/rust_crate_cache.cpp index 2db0eb45..650e3bb1 100644 --- a/src/rt/rust_crate_cache.cpp +++ b/src/rt/rust_crate_cache.cpp @@ -251,7 +251,7 @@ rust_crate_cache::flush() { if (s) { dom->log(rust_log::CACHE, "rust_crate_cache::flush() deref rust_sym %" - PRIdPTR " (rc=%" PRIdPTR ")", i, s->refcnt); + PRIdPTR " (rc=%" PRIdPTR ")", i, s->ref_count); s->deref(); } rust_syms[i] = NULL; @@ -262,7 +262,7 @@ rust_crate_cache::flush() { if (s) { dom->log(rust_log::CACHE, "rust_crate_cache::flush() deref c_sym %" - PRIdPTR " (rc=%" PRIdPTR ")", i, s->refcnt); + PRIdPTR " (rc=%" PRIdPTR ")", i, s->ref_count); s->deref(); } c_syms[i] = NULL; @@ -272,7 +272,7 @@ rust_crate_cache::flush() { lib *l = libs[i]; if (l) { dom->log(rust_log::CACHE, "rust_crate_cache::flush() deref lib %" - PRIdPTR " (rc=%" PRIdPTR ")", i, l->refcnt); + PRIdPTR " (rc=%" PRIdPTR ")", i, l->ref_count); l->deref(); } libs[i] = NULL; -- cgit v1.2.3