From a6f9f73f06a075343fe71a2fd7b1ba06d71366a2 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 11 Nov 2011 16:12:48 -0800 Subject: [PATCH] rt: Make rust_port's ref counting non-atomic Now that the task lock must be held there's no need for atomicity --- src/rt/rust_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/rust_port.h b/src/rt/rust_port.h index 4f735c59b63..a80fc262d01 100644 --- a/src/rt/rust_port.h +++ b/src/rt/rust_port.h @@ -3,7 +3,7 @@ class rust_port : public kernel_owned, public rust_cond { public: - RUST_ATOMIC_REFCOUNT(); + RUST_REFCOUNTED(rust_port) rust_port_id id;