diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-05-07 16:19:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 16:19:24 +0200 |
| commit | 62b68f9688ae2c7837739fab42d093b42b81eccb (patch) | |
| tree | b87a464ee9d93cb924e345d916428ec2dfc71de6 /library/std/src/sys/sgx/waitqueue/spin_mutex.rs | |
| parent | 73d3544fb96c14f9c89f39173b05902d1526093b (diff) | |
| parent | bfa84842e546a5fb2d1c69ba499ddc94bee1e01a (diff) | |
Rollup merge of #85030 - jethrogb:jb/sgx-rearrange-files, r=nagisa
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.
Diffstat (limited to 'library/std/src/sys/sgx/waitqueue/spin_mutex.rs')
| -rw-r--r-- | library/std/src/sys/sgx/waitqueue/spin_mutex.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/sgx/waitqueue/spin_mutex.rs b/library/std/src/sys/sgx/waitqueue/spin_mutex.rs index 7f1a671bab4..f6e851ccadd 100644 --- a/library/std/src/sys/sgx/waitqueue/spin_mutex.rs +++ b/library/std/src/sys/sgx/waitqueue/spin_mutex.rs @@ -1,3 +1,6 @@ +//! Trivial spinlock-based implementation of `sync::Mutex`. +// FIXME: Perhaps use Intel TSX to avoid locking? + #[cfg(test)] mod tests; |
