In weniger als einer Minute können Sie mit dem Lesen von PThreads Programming: A POSIX Standard for Better Multipr... auf Ihrem Kindle beginnen. Sie haben noch keinen Kindle? Hier kaufen Oder fangen Sie mit einer unserer gratis Kindle Lese-Apps sofort an zu lesen.

An Ihren Kindle oder ein anderes Gerät senden

 
 
 

Kostenlos testen

Jetzt kostenlos reinlesen

An Ihren Kindle oder ein anderes Gerät senden

Jeder kann Kindle Bücher lesen  selbst ohne ein Kindle-Gerät  mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.
PThreads Programming: A POSIX Standard for Better Multiprocessing (A Nutshell handbook)
 
 

PThreads Programming: A POSIX Standard for Better Multiprocessing (A Nutshell handbook) [Kindle Edition]

Dick Buttlar , Jacqueline Farrell , Bradford Nichols
3.8 von 5 Sternen  Alle Rezensionen anzeigen (4 Kundenrezensionen)

Kindle-Preis: EUR 17,30 Inkl. MwSt. und kostenloser drahtloser Lieferung über Amazon Whispernet

Weitere Ausgaben

Amazon-Preis Neu ab Gebraucht ab
Kindle Edition EUR 17,30  
Taschenbuch EUR 29,00  

Kunden, die diesen Artikel gekauft haben, kauften auch


Produktbeschreibungen

Kurzbeschreibung

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)

Synopsis

The idea behind POSIX threads 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. This book features realistic examples, a look behind the scenes at the implementation and performance issues, and special topics such as DCE and real-time extensions.

Produktinformation

  • Format: Kindle Edition
  • Dateigröße: 1693 KB
  • Seitenzahl der Print-Ausgabe: 286 Seiten
  • Gleichzeitige Verwendung von Geräten: Keine Einschränkung
  • Verlag: O'Reilly Media; Auflage: 1 (24. Januar 2013)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B00B5KBVHK
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Durchschnittliche Kundenbewertung: 3.8 von 5 Sternen  Alle Rezensionen anzeigen (4 Kundenrezensionen)
  • Amazon Bestseller-Rang: #389.697 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Mehr über die Autoren

Entdecken Sie Bücher, lesen Sie über Autoren und mehr

Kundenrezensionen

3.8 von 5 Sternen
3.8 von 5 Sternen
Die hilfreichsten Kundenrezensionen
4 von 4 Kunden fanden die folgende Rezension hilfreich
3.0 von 5 Sternen Okay for concepts, but no help in coding 24. Juni 1999
Von Ein Kunde
Format:Taschenbuch
The strength of this book is it's brevity: 233 pp of text plus appendices. But the code samples are incomplete (fragments). You'll be able to get an idea of how pthreads work and the methods available, but you'll have a very hard time if you need to actually write code. There is an error on p.126. If you want to write code, get "Programming with POSIX Threads" by David Butenhof. It has complete code examples and is not that much longer: 305 pp of text plus appendices. But I did find this Nichols book helpful when I was curious about pthreads. I commend O'Reilly for the nice illustrations in this book -- above average. They helped convey concepts.
War diese Rezension für Sie hilfreich?
1 von 1 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen Second best book on the subject 4. Januar 1998
Von Ein Kunde
Format:Taschenbuch
As usual, O'Reilly have produced an excellent reference book. In a few respects, this book is preferable to Scott Norton's "Thread Time" - it has better examples, for one.
But this book is not as detailed or complete as Norton, so I don't recommend it as the best choice on the subject.
War diese Rezension für Sie hilfreich?
3 von 4 Kunden fanden die folgende Rezension hilfreich
Von Ein Kunde
Format:Taschenbuch
Of the 4 I've read on the topic, this is a good book but my personal preference (based on how the information was presented, the relevance of coding examples, etc.) is for the Butenhof Pthreads book (excellent) or the Lewis, et. al. Multithreaded Programming book (also very good).
War diese Rezension für Sie hilfreich?
5.0 von 5 Sternen Walk before you run 16. September 2008
Von bernie
Format:Taschenbuch
With all the sophisticated tools available today such as OpenMP, this book may seem quaint. However before grasping at concepts or just using tools with out any understanding or their make up it would be wise to add this to your learning curve.

This book gives a good basic understanding of Pthreads. Of course you will later have to apply it to the real world but as a learning tool this is pretty darn good. The website or path on the sight has changed since publication; but the examples are still there. Because I am using AIX it does take a little time to convert from a gcc format to an AIX format. Then a little more time to apply AIX specific advantages.

As you go from the front of the book to the end the samples get added to and new concepts become available. There are plenty of diagrams for the visual learner. I personally found the signal handling of great use.

Any way this book is not the end-all, be-all, of threads but it sure cleared a lot of concepts up for me.

1. Why Pthreads
2. Designing threaded programs
3. Synchronizing Pthreads
4. Managing Pthreads
5. Pthreads and UNIX
6. practical Considerations

Using OpenMP: Portable Shared Memory Parallel Programming (Scientific and Engineering Computation)
War diese Rezension für Sie hilfreich?
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
Amazon.com: 4.0 von 5 Sternen  17 Rezensionen
26 von 28 Kunden fanden die folgende Rezension hilfreich
3.0 von 5 Sternen Okay for concepts, but no help in coding 24. Juni 1999
Von From_Plano_TX - Veröffentlicht auf Amazon.com
Format:Taschenbuch
The strength of this book is it's brevity: 233 pp of text plus appendices. But the code samples are incomplete (fragments). You'll be able to get an idea of how pthreads work and the methods available, but you'll have a very hard time if you need to actually write code. There is an error on p.126. If you want to write code, get "Programming with POSIX Threads" by David Butenhof. It has complete code examples and is not that much longer: 305 pp of text plus appendices. But I did find this Nichols book helpful when I was curious about pthreads. I commend O'Reilly for the nice illustrations in this book -- above average. They helped convey concepts.
17 von 18 Kunden fanden die folgende Rezension hilfreich
3.0 von 5 Sternen Good Pthreads book but I like other available books better 4. Januar 1999
Von Ein Kunde - Veröffentlicht auf Amazon.com
Format:Taschenbuch
Of the 4 I've read on the topic, this is a good book but my personal preference (based on how the information was presented, the relevance of coding examples, etc.) is for the Butenhof Pthreads book (excellent) or the Lewis, et. al. Multithreaded Programming book (also very good).
16 von 17 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen I think it provides a good overview 22. September 2000
Von Dan Crevier - Veröffentlicht auf Amazon.com
Format:Taschenbuch
I agree with the other reviews that it's not the ultimate authority on pthreads, but I think it provides a great overview from a very practical standpoint. It has lots of good discussions on when to use threads, general design priniciples of using threads, problems you will likely encounter, and discussions of performance. It also has some good examples, including an example of how to turn some non-thread-safe linked list code into thread-safe code. I really like that its brief and doesn't go into too many details -- you can read it from cover to cover. If you want more details, you will want to refer to one of the other books that the other reviewers have mentioned.
6 von 6 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen Second best book on the subject 4. Januar 1998
Von Ein Kunde - Veröffentlicht auf Amazon.com
Format:Taschenbuch
As usual, O'Reilly have produced an excellent reference book. In a few respects, this book is preferable to Scott Norton's "Thread Time" - it has better examples, for one.
But this book is not as detailed or complete as Norton, so I don't recommend it as the best choice on the subject.
12 von 15 Kunden fanden die folgende Rezension hilfreich
3.0 von 5 Sternen Not the best effort I've read... 7. Mai 2001
Von Gregorio - Veröffentlicht auf Amazon.com
Format:Taschenbuch
The short code snippets are horrible. If the author wants to save money and space by using code snippets, it should be checked and checked again for accuracy. There are numerous errors in the code. For example, on page 80, there is an example of condition variable usage. However, there are no function prototypes! This is just one of numerous obvious ommissions. Trust me, there are non-obvious errors too. If you're looking for an overview, this will do you fine. However, if you're looking for some decent code examples to look at, I'd suggest Butenhof's book instead.
Multi-threaded programming is difficult enough, why make it harder for yourself?
Waren diese Rezensionen hilfreich?   Wir wollen von Ihnen hören.
Kundenrezensionen suchen
Nur in den Rezensionen zu diesem Produkt suchen

Kunden diskutieren

Das Forum zu diesem Produkt
Diskussion Antworten Jüngster Beitrag
Noch keine Diskussionen

Fragen stellen, Meinungen austauschen, Einblicke gewinnen
Neue Diskussion starten
Thema:
Erster Beitrag:
Eingabe des Log-ins
 

Kundendiskussionen durchsuchen
Alle Amazon-Diskussionen durchsuchen
   


Ähnliche Artikel finden