• Fri frakt över 249 kr
  • •
  • Snabba leveranser
  • •
  • Billiga böcker
Kundservice

Du är på sajten för privatpersoner.

Företag, bibliotek eller offentlig verksamhet?

Du handlar på classic.bokus.com, där alla dina funktioner finns intakta.
Till classic.bokus.com
Bokus logotyp. Gå till startsidan.
  • Erbjudanden
  • Nyheter
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Pocketböcker
  • Spel & pussel

10% studentrabatt med kod TERM26

Sidfot

Mina sidor

    Hjälp

    • Kundservice
    • Vanliga frågor och svar
    • Frakt och leverans
    • Retur vid ångerrätt
    • Reklamera vara
    • Betalning
    • Köpvillkor
    • Allmänna villkor
    • Information om webbplatsens tillgänglighet

    Om Bokus

    • Om oss
    • Pressrum
    • För studenter
    • För företag
    • För bibliotek och offentlig verksamhet
    • För leverantörer
    • Hållbarhet

    Populärt

    • Aktuella erbjudanden
    • Presentkort
    • Studentlitteratur
    • Nya böcker
    • Topplistor
    • Signerade böcker
    • Engelska böcker

    Inspiration

    • Boktips
    • BookTok
    • Populära bokserier
    • Barnbokskaraktärer
    • Populära författare

    Mina sidor

      Hjälp

      • Kundservice
      • Vanliga frågor och svar
      • Frakt och leverans
      • Retur vid ångerrätt
      • Reklamera vara
      • Betalning
      • Köpvillkor
      • Allmänna villkor
      • Information om webbplatsens tillgänglighet

      Om Bokus

      • Om oss
      • Pressrum
      • För studenter
      • För företag
      • För bibliotek och offentlig verksamhet
      • För leverantörer
      • Hållbarhet

      Populärt

      • Aktuella erbjudanden
      • Presentkort
      • Studentlitteratur
      • Nya böcker
      • Topplistor
      • Signerade böcker
      • Engelska böcker

      Inspiration

      • Boktips
      • BookTok
      • Populära bokserier
      • Barnbokskaraktärer
      • Populära författare
      Logotyp för Bokus
      Följ oss på Facebook (extern länk)Följ oss på Instagram (extern länk)Följ oss på YouTube (extern länk)Följ oss på TikTok (extern länk)
      bokus @ CookiesAnpassa cookiesIntegritetspolicyKöpvillkor
      Till Citymail hemsida (extern länk)Till Budbee hemsida (extern länk)Till Postnord hemsida (extern länk)Till Schenker hemsida (extern länk)Till Early Bird hemsida (extern länk)Till Walleys hemsida (extern länk)
      1. Data och IT
      2. Programmeringsböcker

      Pthreads Programming: Using POSIX Threads

      AvBradford Nichols

      O'Reilly Media

      1996

      354 kr

      Beställningsvara. Skickas inom 5-8 vardagar. Fri frakt över 249 kr.

      Beskrivning

      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)

      Produktinformation

      • Märke:O'Reilly Media
      • Utgivningsdatum:1996-10-08
      • Höjd:235 x 20 x 180 mm
      • Vikt:460 g
      • Språk:Engelska
      • Antal sidor:350
      • Förlag:O'Reilly Media
      • EAN:9781565921153

      Utforska kategorier

      • Programmeringsböcker inom Data och IT

      Mer om författaren

      Brad Nichols is a free-lance do-anything-computerish-for-a-buck kind of guy who works out of Milford, NH. He earned a Bachelor of Science degree in mechanical engineering from the University of New Hampshire in 1985 and a Master of Science degree from Worcester Polytechnic Institute (WPI) in 1991. He started his computer career working on very hard hardware (fuel pumps and valves). He worked his way up through the hardware layers into software on projects involving embedded avionics systems at Textron Lycomming and United Technologies Hamilton Standard Division. Brad left these jobs to learn more about AI at WPI, but instead caught the Mach fever, and was introduced to threads programming in UNIX. While at WPI he also worked on an OSF/1 performance project for the Open Software Foundation (OSF). After attending WPI, Brad taught training seminars to software developers on the Mach kernel interfaces. He then joined Digital Equipment Corporation to work on the port of the OSF's Distributed Computing Environment's Distributed File System (OSFDCEDFSDU for short) to Digital UNIX. Now, Brad is once again on his own and spends most of his time teaching software engineers about technologies with much shorter acronyms -- such as Pthreads. When not working, Brad spends time at home trying to synchronize with his wife, Susan, and three little threads, Dan (who's 7), Tim (5), and Cecelia (3). And, oh yes, there's the lawn and dump things on weekends too. Dick Buttlar is a consulting writer in the UNIX Engineering Group at Digital Equipment Corporation, where he recently completed his stint as project leader for the Digital UNIX cluster documentation. He specializes in programming documentation -- both user-level and kernel -- and, in a former life, wrote the device driver documentation for the VMS operating system. A few years ago, he managed the initial planning of the corporate- wide documentation effort for Digital's Alpha processor. He's worked for Wang Laboratories, Recal/Redac, North American Technologies, and the American Trial Lawyers Association, among other places. He has a B.A. in English from Boston College and an M.A. in English from the University of Wisconsin at Madison. He lives in an ivory protocol tower in Nashua, NH, with his wife, Connie, and three children. He enjoys playing pirates with his son Tom; taking his daughter Maggie fishing; and listening to Rancid with his daughter Jenn. He likes nothing better than hanging out on the Maine seacoast, cooking a nice meal for himself and his wife, while hummingbirds feed outside the kitchen window, the ocean rolls in at the cove, and Miles Davis's "Flamenco Sketches" softly plays on the boombox on the counter. Jackie Farrell has been a software engineer with Digital Equipment Corporation since 1986 and is currently a principal software engineer. She currently leads development of the DCE products for Digital UNIX. Jackie has a B.S. in applied math from the University of Vermont (1986), and studied distributed computing at Cornell University (MEng degree, 1993). Her previous projects at Digital include RT-11, DECtrade, and DCE CDS development. Jackie is happily married to Bernard Farrell, also a software warrior as well as the father of three amazing children, Eleanor, Lee, and Hayley. Jackie and Bernard are soon to be parents of baby Mingzhu, who waits patiently for them in Yunnan Province, China.

      Innehållsförteckning

      • Preface. Chapter 1. Why Threads? What Are Pthreads? Potential Parallelism Specifying Potential Parallelism in a Concurrent Programming Environment Parallel vs. Concurrent Programming Synchronization Who Am I? Who Are You? Terminating Thread Execution Why Use Threads Over Processes? A Structured Programming Environment Choosing Which Applications to Thread. Chapter 2. Designing Threaded Programs Suitable Tasks for Threading Models Buffering Data Between Threads Some Common Problems Performance Example: An ATM Server Example: A Matrix Multiplication Program. Chapter 3. Synchronizing Pthreads Selecting the Right Synchronization Tool Mutex Variables Condition Variables Reader/Writer Locks Synchronization in the ATM Server Thread Pools. Chapter 4. Managing Pthreads Setting Thread Attributes The pthread_once Mechanism Keys: Using Thread-Specific Data Cancellation Scheduling Pthreads Mutex Scheduling Attributes. Chapter 5. Pthreads and UNIX Threads and Signals Threadsafe Library Functions and System Calls Cancellation-Safe Library Functions and System Calls Thread-Blocking Library Functions and System Calls Threads and Process Management Multiprocessor Memory Synchronization. Chapter 6. Practical Considerations Understanding Pthreads Implementation Debugging Performance Conclusion Appendix A. Pthreads and DCE Appendix B. Pthreads Draft 4 vs. the Final Standard Appendix C. Pthreads Quick Reference Index
      Hoppa över listan

      Mer från samma författare

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar - PThreads Programming, E-bok

      PThreads Programming

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar

      E-bok
      1996

      389 kr

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar - PThreads Programming, E-bok

      PThreads Programming

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar

      E-bok
      1996

      389 kr

      Hoppa över listan

      Du kanske också är intresserad av

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar - PThreads Programming, E-bok

      PThreads Programming

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar

      E-bok
      1996

      389 kr

      Gerard I. Nierenberg - Doing It Right the First Time, Häftad

      Doing It Right the First Time

      Gerard I. Nierenberg

      Häftad, 1996

      197 kr

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar - PThreads Programming, E-bok

      PThreads Programming

      Bradford Nichols, Jacqueline Farrell, Dick Buttlar

      E-bok
      1996

      389 kr

      Committee on Evaluating Clinical Applications of Telemedicine, Institute of Medicine, Marilyn J. Field - Telemedicine, E-bok

      Telemedicine

      Committee on Evaluating Clinical Applications of Telemedicine, Institute of Medicine, Marilyn J. Field

      E-bok
      1996

      665 kr

      Chris Hutcheson, Joseph Howe - Low Back and Pelvis: Clinical Applications, Häftad

      Low Back and Pelvis: Clinical Applications

      Chris Hutcheson, Joseph Howe

      Häftad, 1996

      1 253 kr

      Committee on Evaluating Clinical Applications of Telemedicine, Institute of Medicine, Marilyn J. Field - Telemedicine, E-bok

      Telemedicine

      Committee on Evaluating Clinical Applications of Telemedicine, Institute of Medicine, Marilyn J. Field

      E-bok
      1996

      691 kr

      Gene Anderson - Bird of Paradox, Häftad

      Bird of Paradox

      Gene Anderson

      Häftad, 1996

      324 kr

      Wood J Wood, Ramsden Philip Ramsden, Kent P Kent - Experiments In Undergraduate Mathematics: A Mathematica-based Approach, E-bok

      Experiments In Undergraduate Mathematics: A Mathematica-based Approach

      Wood J Wood, Ramsden Philip Ramsden, Kent P Kent

      E-bok
      1996

      415 kr

      Mary Susan Miller - No Visible Wounds: Identifying Non-Physical Abuse of Women by Their Men, Häftad

      No Visible Wounds: Identifying Non-Physical Abuse of Women by Their Men

      Mary Susan Miller

      Häftad, 1996

      259 kr

      Breier Mignonne Breier, Prinsloo Mastin Prinsloo - Social Uses of Literacy, E-bok

      Social Uses of Literacy

      Breier Mignonne Breier, Prinsloo Mastin Prinsloo

      E-bok
      1996

      1 430 kr