Commit 6651847a authored by RILLING Louis's avatar RILLING Louis
Browse files

fake-vm: Prepare source tree for alternative timer implementations

parent f5814a30
pub use process::*;
mod process;
......@@ -10,7 +10,7 @@ use std::sync::{Arc, Mutex, RwLock, Weak};
use std::sync::Once;
use std::sync::atomic::{AtomicBool, Ordering};
use std::time::Duration as StdDuration;
use super::{Context, InnerContext};
use crate::{Context, InnerContext};
struct AdjustedTime(SeqLock<Duration>);
......@@ -258,7 +258,7 @@ pub fn register(context: &Context) -> Result<()> {
extern "C" fn deadline_handler(_: libc::c_int) {
use super::AfterDeadline;
use crate::AfterDeadline;
if let Some(context) = {
let context = Context(context);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment