summaryrefslogtreecommitdiff
path: root/src/thread_parker/sgx.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread_parker/sgx.rs')
-rw-r--r--src/thread_parker/sgx.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_parker/sgx.rs b/src/thread_parker/sgx.rs
index 56fc65a..341efe2 100644
--- a/src/thread_parker/sgx.rs
+++ b/src/thread_parker/sgx.rs
@@ -6,6 +6,7 @@
// copied, modified, or distributed except according to those terms.
use core::sync::atomic::{AtomicBool, Ordering};
+use instant::Instant;
use std::{
io,
os::fortanix_sgx::{
@@ -16,7 +17,6 @@ use std::{
},
},
thread,
- time::Instant,
};
// Helper type for putting a thread to sleep until some other thread wakes it up