Rearrange SGX split module files
In #75979 several inlined modules were split out into multiple files. This PR keeps the multiple files but moves a few things around to organize things in a coherent way.
This commit is contained in:
parent
ac888e8675
commit
bfa84842e5
4 changed files with 7 additions and 6 deletions
|
@ -13,13 +13,8 @@
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
/// A doubly-linked list where callers are in charge of memory allocation
|
|
||||||
/// of the nodes in the list.
|
|
||||||
mod unsafe_list;
|
|
||||||
|
|
||||||
/// Trivial spinlock-based implementation of `sync::Mutex`.
|
|
||||||
// FIXME: Perhaps use Intel TSX to avoid locking?
|
|
||||||
mod spin_mutex;
|
mod spin_mutex;
|
||||||
|
mod unsafe_list;
|
||||||
|
|
||||||
use crate::num::NonZeroUsize;
|
use crate::num::NonZeroUsize;
|
||||||
use crate::ops::{Deref, DerefMut};
|
use crate::ops::{Deref, DerefMut};
|
|
@ -1,3 +1,6 @@
|
||||||
|
//! Trivial spinlock-based implementation of `sync::Mutex`.
|
||||||
|
// FIXME: Perhaps use Intel TSX to avoid locking?
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
//! A doubly-linked list where callers are in charge of memory allocation
|
||||||
|
//! of the nodes in the list.
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue