diff options
| author | Michael Bebenita <mbebenita@mozilla.com> | 2010-07-19 14:05:18 -0700 |
|---|---|---|
| committer | Michael Bebenita <mbebenita@mozilla.com> | 2010-07-19 14:05:18 -0700 |
| commit | 00d1465d13980fc3acf650f182ee0723fbda0e06 (patch) | |
| tree | a73cf5f0f20c0bee6722b33d975eb930919fefdf /src/rt/rust_crate_cache.cpp | |
| parent | 1f0656d9084970fcc02ba9c27277265b8b3b7217 (diff) | |
| download | rust-00d1465d13980fc3acf650f182ee0723fbda0e06.tar.gz rust-00d1465d13980fc3acf650f182ee0723fbda0e06.zip | |
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.
Diffstat (limited to 'src/rt/rust_crate_cache.cpp')
| -rw-r--r-- | src/rt/rust_crate_cache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_crate_cache.cpp b/src/rt/rust_crate_cache.cpp index 2db0eb458d7..650e3bb1ef3 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; |
