mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
No longer put cloudabi condvars in a box.
Cloudabi condvars may be moved safely.
This commit is contained in:
parent
b181f5a923
commit
5769a46788
@ -15,7 +15,7 @@ pub struct Condvar {
|
||||
condvar: UnsafeCell<AtomicU32>,
|
||||
}
|
||||
|
||||
pub type MovableCondvar = Box<Condvar>;
|
||||
pub type MovableCondvar = Condvar;
|
||||
|
||||
unsafe impl Send for Condvar {}
|
||||
unsafe impl Sync for Condvar {}
|
||||
|
Loading…
Reference in New Issue
Block a user