Chapter 8. Introduction to POSIX threads

This chapter gives you an introduction to parallel programming on AIX using POSIX threads by providing several example programs that explain the following concepts:

  • Creating and joining POSIX threads

  • Mutexes (mutual exclusive locks)

  • Condition variables

  • Read-write locks

  • Thread-specific data

  • Thread scheduling

  • Environment variables

For further information about POSIX thread programming on AIX, please refer to the following sections in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs:

  • “Parallel Programming”

  • “Programming on Multiprocessor Systems”

  • “Threads Programming Guidelines”

Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.