fixed some issues made in last merge

This commit is contained in:
Rémi Rativel 2023-03-14 00:09:45 +01:00
parent 65ac9c6f06
commit d4333a672a

View File

@ -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.