Summary

Section 23.1 Introduction

  • Historically, concurrency has been implemented with operating system primitives available only to experienced systems programmers.

  • The Ada programming language, developed by the United States Department of Defense, made concurrency primitives widely available to defense contractors building military command-andcontrol systems.

  • Java makes concurrency available to you through the language and APIs. You specify that an application contains separate threads of execution, where each thread has its own method-call stack and program counter, allowing it to execute concurrently with other threads while sharing application-wide resources such as memory with these other threads.

  • In addition to creating threads to run a ...

Get Java™ How to Program, Seventh Edition 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.