Chapter 7. Processes
Errata
Total entries: 6
7.684.16:28
| Location | Page 684, The sidebar titled "The Earliest fork() and exec() System Calls", the 5th line of the sidebar. |
|---|---|
| Reporter | Anonymous, on July 8, 2006. |
| Instead of "location of the fact" the line should begin with "location and the fact". | |
7.774.12:14
| Location | Page 774, Section 7.4, the first paragraph of the section, the 4th line from the bottom. |
|---|---|
| Reporter | Avi Drissman, on July 12, 2006. |
| Instead of timslicing, it should be timeslicing. | |
7.776.16:47
| Location | Page 776, Figure 7—38, near the left-middle of the figure. |
|---|---|
| Reporter | Anonymous, on July 8, 2006. |
The pathname for idle_thread_create is shown as // osfmk/kern/thread.c. The pathname should be // osfmk/kern/sched_prim.c. | |
7.780.16:51
| Location | Page 780, The two-item bullet list below Figure 7—39, the second item in the list. |
|---|---|
| Reporter | Anonymous, on July 8, 2006. |
Instead of "rtclock_timer_expire() function pointer" it should be "rtclock_timer_expire function pointer". That is, the parentheses should not be there in rtclock_timer_expire(). | |
7.803.17:00
| Location | Page 803, The paragraph just before Figure 7—53. |
|---|---|
| Reporter | Anonymous, on July 8, 2006. |
| The paragraph describes what the program in Figure 7—53 does. However, the description is for an older version of the program, which was replaced by the one in the printed book—I forgot to update the description. The 3rd, 5th, and 6th sentences of this paragraph should be changed as follows. Current 3rd Sentence: Both threads run a function that continuously prints a thread label—the first thread prints the character 1 whereas the second thread prints 2. Change To: Both threads run a function called Current 5th Sentence: The program runs for a few seconds, with both threads printing their labels on the standard output. Change To: The program runs for a few seconds, with the counters of both threads being incremented as the threads receive processing time. Current 6th Sentence: We can pipe the output through the Change To: Before exiting, the program prints the values of both threads' counters. The values will be crude indicators of the respective amounts of processing time that the two threads received. | |
7.805.12:12
| Location | Page 805, Section 7.4.3.4, the first paragraph of the section, the second-to-last line of the paragraph. |
|---|---|
| Reporter | Avi Drissman, on July 12, 2006. |
| Instead of preemtible it should be preemptible. | |