4 Building blocks of concurrency
In this chapter:
- You learn more about the middle layer of concurrency: the runtime system, a popular example of which is the operating system
- You learn the internals of the two basic concurrency abstractions: threads and processes
- You learn how to implement concurrent applications using threads and processes
- You learn how to choose the concurrency abstraction suitable for your problem
Concurrent programming involves breaking down applications into independent units of concurrency. In previous chapters, we referred to these units as tasks for organizing the flow of the application. Now, with knowledge of the hardware being used, we need to map these abstractions onto the physical devices executing the code. Fortunately, ...
Get Grokking Concurrency 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.