computer books and technical books at discount prices
Advanced Search
View
My
0
Shopping
Bag
Home Login F.A.Q. Contact Us
 
My Myself and I:
 Order Tracking 
 My Wishlist 
 My Gift Registry 
 Change User Preferences 
 E-mail Notifications 

Browse Books:
 Bestsellers 
 New Arrivals 
 Bargain Computer Books 
 Classic Computer Books 

Browse Subjects:
 business & finance 
 business applications 
 cad/cam 
 certification 
 computing 
 databases 
 desktop publishing 
 engineering 
 gaming 
 geographic/gis 
 graphics/animation 
 groupware 
 internet 
 mathematics 
 microsoft programming 
 multimedia 
 networking 
 object-oriented 
 operating systems 
 other & misc 
 physics 
 programming languages 
 servers 
 web design/development 

Multithreaded Programming with Pthreads
by Bewis, Bil / Berg, Daniel
 

 
Cover Price: $34.95
Online Price: $20.62
You save $14.33 (41%)

 

ISBN-10: 0136807291
ISBN-13: 9780136807292
Publisher: Prentice-Hall
Published December 1997; Paperback; 382 pages
Add to Shopping Bag
 

OUT OF STOCK
0 COPIES
 
Add to Wishlist
Related categories:
All Sections > Operating Systems > UNIX > UNIX Programming

Our Comments:
This is a Print-On Demand (POD) version of this book.

Summary:
"Multithreading can make your programs faster and more capable. Bil Lewis and Dan Berg explain clearly the concepts of multithreaded programming as well as the useful little tricks of the trade, illustrated by helpful diagrams and coding examples." - Guy L. Steele Jr., Distinguished Engineer, Sun Microsystems Laboratories

Table of Contents:
1. Introduction.
2. Concepts.
Background: Traditional Operating Systems. What Is a Thread? Kernel Interaction. The Value of Using Threads. What Kind of Programs to Thread? What About Shared Memory? Threads Standards. Performance.

3. Foundations.
Implementation vs. Specification. Thread Libraries. The Process Structure. Lightweight Processes. Solaris Multithreaded Model. System Calls. Signals.

4. Lifecycle.
Thread Lifecycle.

5. Scheduling.
Different Models of Kernel Scheduling. Thread Scheduling. Context Switching. When Should You Care About Scheduling?

6. Synchronization.
Synchronization Issues. Synchronization Variables. A Stoppable Producer/Consumer Example.

7. Complexities.
Complex Locking Primitives. Other Synchronization Variables. Message Queues. Cross-Process Synchronization Variables. Initialization and Destruction. Synchronization Problems.

8. TSD.
Thread-Specific Data. Global Variables, Constants, and Cheating.

9. Cancellation.
What Cancellation Is. A Cancellation Example. Using Cancellation. Cancellation Safety. Simple Polling.

10. Signals.
Signals in UNIX. The Solaris Implementation of Signal Handling. Don't Use Signal Handlers!

11. Details.
Attribute Objects. POSIX Thread Ids. Win32 Thread IDs and Thread Handles. Initializing Your Data: pthread_once(). POSIX Namespace Restrictions. Return Values and Error Reporting. Constants Comments. Pthread Futures. Pthread Extensions. Comparing the OS/2, Win32, and POSIX Libraries.

12. Libraries.
The Threads Library. Multithreaded Kernels. Are Libraries Safe? Stub Functions in libc. New Semantics for System Calls. Are Libraries Safe? Threads Debugger Interface. Mixing Solaris Pthreads and UI Threads. Comparisons of Different Implementations.

13. Design.
Making Libraries Safe and Hot. Manipulating Lists. Program Design.

14. Languages.
C. C++. Java. Fortran. Ada. Pascal. Smalltalk. Lisp. Eiffel. Commercial Products. Public Pthreads Implementations.

15. Tools.
Static Lock Analyzer. Using a Thread-Aware, Graphical Debugger. Debug Mutexes. Protocol. TNFview.

16. Performance.
Optimization: Objectives and Objections. CPU Time, I/O Time, Contention, Etc. Limits on Speedup. Benchmarks and Repeatable Testing. The Lessons of NFS.

17. Hardware.
Types of Multiprocessors. Bus Architectures. Memory Systems.

18. Examples.
Threads and Windows. Socket Server (Master/Slave Version). Socket Server (Producer/Consumer Version). Other Programs on the Web.

Appendix A. Internet.
Threads Newsgroup. Code Examples. Vendor's Threads Pages. Threads Research. The SPILT Package for UI/POSIX Compatibility. Freeware Tools. Other Pointers. The Authors on the Net.

Appendix B. Books.
Threads Books. Related Books.

Appendix C. Timings.
Appendix D. Mistakes.
Appendix E. APIs.
Function Descriptions. Pthread Functions. Pthread Attributes Objects. POSIX Realtime Scheduling. Mutexes. Mutex Attributes Objects. Condition Variables. Condition Variable Attributes Objects. Cancellation Functions. Thread-Specific Data Functions. Semaphores. Signal Functions. Stdio.

Glossary.
Index.


Related titles:
The Linux Programming Interface: A Linux and UNIX System Programming HandbookUNIX Shells by Example, with CDROM, 4th EditionAdvanced Programming in the UNIX Environment, 2nd Edition (Hardcover Version)Advanced Programming in the Unix Environment, 2nd Edition (Paperback Version)Pthreads ProgrammingUNIX Network Programming: The Sockets Networking API, Volume 1, 3rd Edition