- 1
- 0
- 约1.26万字
- 约 74页
- 2016-11-23 发布于湖北
- 举报
* State表示线程状态,线程状态存储于线程控制块中。线程控制块也是线程所私有的。 * * * * * * * * * * * * * * * * * * * * * * * * * Exit() * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Thread Usage (cont.) Threads offer a solution. The process could be structured with an input thread, a processing thread, and an output thread. The input thread reads data into an input buffer The processing thread takes data out of the input buffer, processes them, and puts the results in an output buffer. The output thread writes these results back to disk. * Implementing Threads User-level thread Kernel-level thread Hybrid approach *
原创力文档

文档评论(0)