Rollup merge of #85029 - jethrogb:jb/sgx-movable-mutex, r=m-ou-se
SGX mutex is movable r? ``@m-ou-se``
This commit is contained in:
commit
73d3544fb9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub struct Mutex {
|
||||||
inner: SpinMutex<WaitVariable<bool>>,
|
inner: SpinMutex<WaitVariable<bool>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type MovableMutex = Box<Mutex>;
|
pub type MovableMutex = Mutex;
|
||||||
|
|
||||||
// Implementation according to “Operating Systems: Three Easy Pieces”, chapter 28
|
// Implementation according to “Operating Systems: Three Easy Pieces”, chapter 28
|
||||||
impl Mutex {
|
impl Mutex {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue