|
1 | | -These are the source files for the programming examples in |
2 | | -"Programming With POSIX(r) Threads". The Makefile is pre-configured |
3 | | -for Digital UNIX, but includes the appropriate definitions to build on |
4 | | -Solaris (uncomment the Solaris lines and comment the Digital UNIX |
5 | | -lines). |
6 | 1 |
|
7 | | -Some of these examples have been repaired since the original printing |
8 | | -of the book. Some differ from the examples printed in the latest |
9 | | -printing, as well, because the changes were too large to fit. The |
10 | | -signal-based suspend/resume program, susp.c, has been substantially |
11 | | -revised to correct a number of problems with the original version. |
| 2 | +## Introduction |
| 3 | + |
| 4 | +This ground breaking book is about “threads” and how to use them. “Thread” is just a name for a |
| 5 | +basic software “thing” that can do work on a computer. A thread is smaller, faster, and more |
| 6 | +maneuverable than a traditional process. In fact, once threads have been added to an operating |
| 7 | +system, a "process" becomes just data—address space, files, and so forth—plus one or more threads |
| 8 | +that do something with all that data. With threads, you can build applications that utilize system |
| 9 | +resources more efficiently and friendly to users who that run blazingly fast on multiprocessors, |
| 10 | +and that may even be easier to maintain. |
| 11 | + |
| 12 | +## Content |
| 13 | +The threads model used in the book is commonly called POSIX threads or more formally the POSIX |
| 14 | +1003.1c–1995 standard. Pthreads interfaces are included with Sun’s Solaris; Hewlett-Packard’s |
| 15 | +Tru64 UNIX, OpenVMS, NonStop platform, and HP-UX; IBM’s AIX, OS/400, and OS/ 390; SGI’s IRIX; |
| 16 | +SCO’s UnixWare; Apple’s Mac OS X; and Linux (any major distribution). It includes Introduction, |
| 17 | +Threads, Synchronization, Thread Channels, Advanced Threaded Programming, POSIX Adjustment to |
| 18 | +Threads, Real Code, Debugging, POSIX Threads Reference and Future Standardization. |
| 19 | + |
| 20 | +## Source |
| 21 | + |
| 22 | +These are the source files for programming examples in "Programming With POSIX Threads". The |
| 23 | +Makefile is pre-configuredfor Digital UNIX, but includes the appropriate definitions to build |
| 24 | +on Solaris. Some of these examples have been repaired since the original printing of the book. |
| 25 | +Some differ from the examples printed in the latest printing because the changes were too large |
| 26 | +to fit. The signal-based suspend/resume program, susp.c, has been substantially revised to correct |
| 27 | +a number of problems with the original version. |
12 | 28 |
|
13 | 29 | alarm.c Simple synchronous alarm clock |
14 | 30 | alarm_cond.c Threaded alarm clock using condition variable |
@@ -99,8 +115,3 @@ sigwait Waits for 5 SIGINT signals (^C) |
99 | 115 | thread One thread writes to stdout while |
100 | 116 | another waits for input from |
101 | 117 | stdin. (Satisfy the read to exit.) |
102 | | - |
103 | | -/---[ Dave Butenhof ]-----------------------[ [email protected] ]---\ |
104 | | -| Compaq Computer Corporation 110 Spit Brook Rd ZKO2-3/Q18 | |
105 | | -| 603.884.7460, FAX 603.884.0120 Nashua NH 03062-2698 | |
106 | | -\-----------------[ Better Living Through Concurrency ]----------------/ |
|
0 commit comments