Carte Pthreads Programming Bradford Nichols

Pthreads Programming

Limbă: engleză
Legare: Carte broșată
Editura: O'Reilly Media
Disponibilitate: În depozitul extern
Expediem în 9-15 zile
165.35 lei
Computers are just as busy as the rest of us nowadays. They have lots of tasks to do at once, and n...

Informații despre carte

Limbă
engleză
Legare
Carte - Carte broșată
Publicat
1996
Pagini
350
EAN
9781565921153
ISBN
1565921151
Enbook ID
04814695
Editura
Greutate
512
Dimensiuni
178 x 232 x 15

Descriere completă

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)

S-ar putea să te intereseze

244.84 lei
244.84 lei

Made to Stick

Chip Heath
67.23 lei
708.50 lei

The Dhandho Investor

Mohnish Pabrai
153.09 lei

Linux Kernel in a Nutshell

Greg Kroah-Hartman
145.30 lei
125.45 lei
284.63 lei
461.33 lei

Mastering Git

JAKUB NAREBSKI
301.14 lei

Mastering Vim

Ruslan Osipov
301.14 lei
920.44 lei
238.46 lei

Made to Stick

Chip Heath
123.93 lei

Complete Stories

Truman Capote
57.10 lei

The 5 AM Club

Robin Sharma
83.02 lei
71.48 lei
85.35 lei
49.71 lei

Battleship Bismarck

Stefan Draminski
244.84 lei

Clienții care au cumpărat această carte au mai cumpărat și

238.05 lei
284.63 lei
284.63 lei
352.98 lei

The Clean Coder

Robert C. Martin
200.28 lei
216.99 lei

Design Patterns

Erich Gamma
262.56 lei
246.05 lei