Pthreads Programming: A Posix Standard for Better Multiprocessing (1ST ed.)
Dick Buttlar, Jacqueline Farrell, Bradford Nichols
- 出版商: O'Reilly Media
- 出版日期: 1996-09-11
- 售價: $1,320
- 貴賓價: 9.5 折 $1,254
- 語言: 英文
- 頁數: 286
- 裝訂: Paperback
- ISBN: 1565921151
- ISBN-13: 9781565921153
立即出貨 (庫存=1)
買這商品的人也買了...
-
$580$464Visual C++ 6 教學手冊 (Beginning Visual C++ 6)
-
$680$544計算機組織與設計--軟硬體界面第二版 (Computer Organization & Design, 2/e)
-
$650$553SQL Server 2000 設計實務
-
$980$784C++ Primer, 3/e 中文版
-
$990$970Introduction to Algorithms, 2/e
-
$920$736Thinking in Java 中文版 (Thinking in Java, 2/e)
-
$690$587C++ Builder 6 完全攻略
-
$350$298執行力 EXECUTION
-
$750$638Java 完美經典優質學習篇
-
$760$600802.11 無線網路技術通論 (802.11 Wireless Networks: The Definitive Guide)
-
$590$502ASP.NET 程式設計徹底研究
-
$680$544Windows Server 2003 網路與 IIS 架站指南
-
$2,225$2,114Programming with POSIX Threads (Paperback)
-
$690$538STRUTS 實作手冊(Struts in Action: Building Web Applications with the Leading Java Framework)
-
$720$576重構─改善既有程式的設計
-
$750$638鳥哥的 Linux 私房菜-伺服器架設篇
-
$560$476鳥哥的 Linux 私房菜─基礎學習篇增訂版
-
$480$379人月神話:軟體專案管理之道 (20 週年紀念版)(The Mythical Man-Month: Essays on Software Engineering, Anniversary Edition, 2/e)
-
$750$600JSP 2.0 技術手冊
-
$650$507ASP.NET 徹底研究進階技巧─高階技巧與控制項實作
-
$880$695深入淺出 Java 程式設計, 2/e (Head First Java, 2/e)
-
$550$468Flash 8 躍動的網頁中文版
-
$580$493正確學會 Photoshop CS2 的 16 堂課
-
$650$507ASP.NET 2.0 深度剖析範例集
-
$980$882Linux 驅動程式, 3/e (Linux Device Drivers, 3/e)
商品描述
Computers are just as busy as the rest of us nowadays. They have lots of tasks to do at once, and need some cleverness to get them all done at the same time.That's why threads are seen more and more often as a new model for programming. Threads have been available for some time. The Mach operating system, the Distributed Computer Environment (DCE), and Windows NT all feature threads.One advantage of most UNIX implementations, as well as DCE, is that they conform to a recently ratified POSIX standard (originally 1003.4a, now 1003.1c), which allows your programs to be portable between them. POSIX threads are commonly known as pthreads, after the word that starts all the names of the function calls. The standard is supported by Solaris, OSF/1, AIX, and several other UNIX-based operating systems.The idea behind threads programming is to have multiple tasks running 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.A window interface can read input on dozens of different buttons, each responsible for a separate task. A network server has to accept simultaneous calls from many clients, providing each with reasonable response time. A multiprocessor runs a number-crunching program on several CPUs at once, combining the results when all are done. All these kinds of applications can benefit from threads.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 describes in a simple, clear manner what all the advanced features are for, and how threads interact with the rest of the UNIX system.Topics include:
- Basic design techniques
- Mutexes, conditions, and specialized synchronization techniques
- Scheduling, priorities, and other real-time issues
- Cancellation
- UNIX libraries and re-entrant routines
- Signals
- Debugging tips
- Measuring performance
- Special considerations for the Distributed Computing Environment (DCE)