mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
rt: Make rust_port's ref counting non-atomic
Now that the task lock must be held there's no need for atomicity
This commit is contained in:
parent
d645f87c6d
commit
a6f9f73f06
@ -3,7 +3,7 @@
|
||||
|
||||
class rust_port : public kernel_owned<rust_port>, public rust_cond {
|
||||
public:
|
||||
RUST_ATOMIC_REFCOUNT();
|
||||
RUST_REFCOUNTED(rust_port)
|
||||
|
||||
rust_port_id id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user