Skip to content

Commit a6f9f73

Browse files
committed
rt: Make rust_port's ref counting non-atomic
Now that the task lock must be held there's no need for atomicity
1 parent d645f87 commit a6f9f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/rust_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class rust_port : public kernel_owned<rust_port>, public rust_cond {
55
public:
6-
RUST_ATOMIC_REFCOUNT();
6+
RUST_REFCOUNTED(rust_port)
77

88
rust_port_id id;
99

0 commit comments

Comments
 (0)