Skip to content

Commit

Permalink
modify wq to mut
Browse files Browse the repository at this point in the history
Signed-off-by: guoweikang <[email protected]>
  • Loading branch information
guoweikang committed Oct 16, 2024
1 parent db2bc87 commit c7143b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/axtask/src/wait_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl WaitQueue {
if axhal::time::wall_time() >= deadline {
break;
}
let wq = self.queue.lock();
let mut wq = self.queue.lock();
if condition() {
timeout = false;
break;
Expand Down

0 comments on commit c7143b9

Please sign in to comment.