5. Tools of the Trade
Keywords: perfbook_html

#
5. Tools of the Trade

This chapter provides a brief introduction to some basic tools of the parallel-programming trade, focusing mainly on those available to user applications running on operating systems similar to Linux. Section begins with scripting languages, Section describes the multi-process parallelism supported by the POSIX API, Section touches on POSIX threads, and finally, Section describes atomic operations.

Please note that this chapter provides but a brief introduction. More detail is available from the references cited, and more information on how best to use these tools will be provided in later chapters.

Subsections

- 5.1 Scripting Languages
- 5.2 POSIX Multiprocessing
  - 5.2.1 POSIX Process Creation and Destruction
  - 5.2.2 POSIX Thread Creation and Destruction
  - 5.2.3 POSIX Locking
  - 5.2.4 POSIX Reader-Writer Locking
- 5.3 Atomic Operations
- 5.4 Linux-Kernel Equivalents to POSIX Operations
- 5.5 The Right Tool for the Job: How to Choose?