diff --git a/src/kernel/synch.rs b/src/kernel/synch.rs index a7a5be2..d4e349c 100644 --- a/src/kernel/synch.rs +++ b/src/kernel/synch.rs @@ -72,7 +72,7 @@ pub struct Lock{ } -impl<'t> Lock { +impl Lock { /// Wait until the lock become free. Checking the /// state of the lock (free or busy) and modify it must be done @@ -136,7 +136,7 @@ pub struct Condition{ } -impl<'t> Condition { +impl Condition { /// Block the calling thread (put it in the wait queue). /// This operation must be atomic, so we need to disable interrupts.