Skip to content

Commit a2b9e9a

Browse files
author
Robert Morris
committed
consistently "lost wakeup"
1 parent e110a44 commit a2b9e9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sched.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ and
14561456
are a simple and effective synchronization method,
14571457
but there are many others.
14581458
The first challenge in all of them is to
1459-
avoid the ``missed wakeups'' problem we saw at the
1459+
avoid the ``lost wakeups'' problem we saw at the
14601460
beginning of the chapter.
14611461
The original Unix kernel's
14621462
.code sleep
@@ -1473,7 +1473,7 @@ Plan 9's
14731473
uses a callback function that runs with the scheduling
14741474
lock held just before going to sleep;
14751475
the function serves as a last minute check
1476-
of the sleep condition, to avoid missed wakeups.
1476+
of the sleep condition, to avoid lost wakeups.
14771477
The Linux kernel's
14781478
.code sleep
14791479
uses an explicit process queue instead of
@@ -1540,7 +1540,7 @@ The integer value typically corresponds to a real
15401540
count, such as the number of bytes available in a pipe buffer
15411541
or the number of zombie children that a process has.
15421542
Using an explicit count as part of the abstraction
1543-
avoids the ``missed wakeup'' problem:
1543+
avoids the ``lost wakeup'' problem:
15441544
there is an explicit count of the number
15451545
of wakeups that have occurred.
15461546
The count also avoids the spurious wakeup

0 commit comments

Comments
 (0)