From d4333a672aac3ad9b9c4dda0de75ee7248353a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Rativel?= Date: Tue, 14 Mar 2023 00:09:45 +0100 Subject: [PATCH] fixed some issues made in last merge --- src/kernel/synch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.