File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
539539 ) ?;
540540 if is_updated {
541541 // Edge-triggered notification only notify one thread even if there are
542- // multiple threads block on the same epfd.
542+ // multiple threads blocked on the same epfd.
543543
544544 // This unwrap can never fail because if the current epoll instance were
545545 // closed, the upgrade of weak_epoll_interest
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use std::thread;
1414// 2. Thread 2 blocks.
1515// 3. Thread 3 unblocks both thread 1 and thread 2.
1616// 4. Thread 1 reads.
17- // 5. Thread 2's `read` can neber complete -> deadlocked.
17+ // 5. Thread 2's `read` can never complete -> deadlocked.
1818
1919fn main ( ) {
2020 // eventfd write will block when EFD_NONBLOCK flag is clear
You can’t perform that action at this time.
0 commit comments