This web resource is a comprehensive tutorial
on concurrent and distributed programming with all basics illustrated with
practical examples. It starts with an overview of concurrency, illustrating
critical principles with simple programming examples. Notes provide overviews of
several programming languages-including C, C++, Java, Ada, and Perl-showing how
each approaches concurrency. It encompasses mutual exclusion, message passing,
and both the standard and an enhanced version of the classic Dining Philosophers
problem. It also touches on threading in Java and Ada as well as introduces the
POSIX threads library (pthreads) for C programs. This book is perfect for
students and practitioners who need to know the underpinning of concurrent
programming in different environments.
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.
This web resource is a comprehensive tutorial
on concurrent and distributed programming with all basics illustrated with
practical examples. It starts with an overview of concurrency, illustrating
critical principles with simple programming examples. Notes provide overviews of
several programming languages-including C, C++, Java, Ada, and Perl-showing how
each approaches concurrency. It encompasses mutual exclusion, message passing,
and both the standard and an enhanced version of the classic Dining Philosophers
problem. It also touches on threading in Java and Ada as well as introduces the
POSIX threads library (pthreads) for C programs. This book is perfect for
students and practitioners who need to know the underpinning of concurrent
programming in different environments.