Skip to content

Commit

Permalink
SGX mutex is movable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Beekman committed May 7, 2021
1 parent ac888e8 commit 30b82e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/sgx/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct Mutex {
inner: SpinMutex<WaitVariable<bool>>,
}

pub type MovableMutex = Box<Mutex>;
pub type MovableMutex = Mutex;

// Implementation according to “Operating Systems: Three Easy Pieces”, chapter 28
impl Mutex {
Expand Down

0 comments on commit 30b82e0

Please sign in to comment.