No longer put cloudabi mutexes in a box.
Cloudabi mutexes may be moved safely.
This commit is contained in:
parent
58deb7001d
commit
def5188ca8
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ extern "C" {
|
|||
// implemented identically.
|
||||
pub struct Mutex(RWLock);
|
||||
|
||||
pub type MovableMutex = Box<Mutex>;
|
||||
pub type MovableMutex = Mutex;
|
||||
|
||||
pub unsafe fn raw(m: &Mutex) -> *mut AtomicU32 {
|
||||
rwlock::raw(&m.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue