fixed some issues made in last merge
This commit is contained in:
parent
65ac9c6f06
commit
d4333a672a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user