This
note covers the following topics: Foundations of Multithreaded, Parallel, and
Distributed Programming, Basic Concurrency Theory, Introduction to SPIN,
Concurrent Programming Practice: Processes and threads, Synchronization
Mechanisms.
These class notes
give a course outline that is conducted in-depth on concurrent programming. They
include the basic concepts of parallel programming, multi-processing, and
multi-threading. Threads' definitions and properties are presented, such as
lifecycle processes and the structure of concurrent hardware architecture. The
basic algorithms form the foundation, including Kessel's and ticket algorithms,
with semantic and the bakery algorithm as the key synchronization tools. Another
topic that the material will be discussing about concurrency issues is deadlock
and speculative multithreading. This book is a resource on getting an
easy-to-access introduction to concurrent programming principles; it is
excellent for student and professional readers who want to learn about how to
effectively manage concurrent processes in software applications.
This resource is aimed
primarily at explicit concurrency, where a programmer explicitly declares the
concurrent behavior within the code. It explains the nature and properties of
concurrent programs as well as the issues that arise during execution and how to
build such programs efficiently. The text also considers performance-oriented
concurrency-that is, the way to exploit a certain capability of hardware in
order to realize an increase of efficiency of a program. This material, by
taking common applications as a look and common problems present in concurrent
programming, acts as a basic guide for anyone interested in knowing the design
and implementation of robust concurrent systems.