Chapter 2. Concepts

  • Background: Traditional Operating Systems

  • What Is a Thread?

  • Kernel Interaction

  • The Value of Using Threads

  • What Kinds of Programs to Thread

  • What About Shared Memory?

  • Threads Standards

  • Performance

In which the reader is introduced to the basic concepts of multitasking operating systems and of multithreading as it compares to other programming paradigms. The reader is shown reasons why multithreading is a valuable addition to programming paradigms, and a number of examples of successful deployment are presented.

Background: Traditional Operating Systems

Before we get into the details of threads, it will be useful for us to have some clear understanding of how operating systems without threads work. In the simplest operating system world ...

Get Multithreaded Programming with JAVA™ Technology now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.