PPT Slide
Uses of threads
- Partition the activities of a single process (Figure 6.11).
- Permit asynchronous I/O within a process -- have a thread wait for the I/O to complete.
- Activity replication -- a server process can create threads on demand as services are requested. Great example - a multi-thread web server. Another example: disk block server (Figure 6.12).
Thread implementation (6.7.5): not covered.