O'Reilly logo

Shared Memory Application Programming by Victor Alessandrini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

Introducing Threads

Abstract

All the basic concepts and facts on multithreading processing that are totally generic and independent of the different programming environments are introduced in this chapter. They describe the way multithreading is implemented in existing computing platforms. In particular, the memory organization of sequential and multithreaded processes and the way a multithreaded process is executed in a multiprocessor computing platform are discussed. A description is given of the different possible states of a thread during its life cycle, as well as the transitions that are controlled by the programmer.

Keywords

Threads

Concurrent and parallel execution

Programming and execution model

Life of a thread

2.1 Applications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required