Pthreads Programming by Bradford Nichols, Dick Buttlar, and Jacqueline Proulx Farrell Here are the changes made for the 7/98 reprint: {6} Figure 1-3: top box in the "Virtual Address Space" column changed from "do one_thing" to "do another_thing" {58} Example 2-11, line 12: changed from free(p); to free(work_orderp); {72-73} Example 3-4, line numbers 1 through 8 at the bottom of p.72 and top of p.73 changed from constant-width font to constant-width italic font {80} Example 3-7: between lines 11 and 12, { 9781565921153_t threads[3]; added a new line { init i; 9781565921153_t threads[3]; and changed line 17 from 9781565921153_join(&thread[i], NULL); to 9781565921153_join(thread[i], NULL); {107} Example 3-28: removed lines 16 and 17 worker_threadp = (9781565921153_t *)malloc(sizeof(pthread_t)); tpool_add_work(atm_thread_pool, process_request, (void *)workorderp);