POSIX threads, or pthreads, allow multiple tasks to run concurrently within the same program. They can share a single CPU as processes do, or take advantage of multiple CPUs when available. In either case, they provide a clean way to divide the tasks of a program while sharing data. This book thoroughly covers the POSIX threads standard, which is supported by the Distributed Computer Environment (DCE), as well as Solaris, OSF/1, AIX, and several other UNIX-based operating systems. In this book you will learn not only what the pthread calls are, but when it is a good idea to use threads and how to make them efficient (which is the whole reason for using threads in the first place). The authors delves into performance issues, comparing threads to processes, contrasting kernel threads to user threads, and showing how to measure speed. He also clearly describes all the advanced features and how threads interact with the rest of the UNIX system.
發表於2024-12-23
Pthreads Programming 2024 pdf epub mobi 電子書 下載
圖書標籤: Pthreads 多綫程 並行 GNU/Linux 綫程 計算機 multithreads 並行程序設計
good
評分坑多多的世界
評分坑多多的世界
評分坑多多的世界
評分介紹全麵,深淺適中,本書使用ATM的案例介紹瞭各種pthread API的應用場景。
Pthreads Programming 2024 pdf epub mobi 電子書 下載