The Harmony Virtual Machine:
Principles and Practice of Concurrent Programming This comprehensive guide
develops the principles and practice of concurrent programming with the Harmony
Virtual Machine. This comprehensive reference guide discusses key ideas such as
critical sections and problems in concurrent programming. It helps readers learn
about Peterson's algorithm for mutual exclusion, various locking mechanisms, and
concurrent data structures. The text also explains advanced synchronization
techniques, such as conditional waiting, reader/writer locks, and monitors. In
addition, this book includes deadlock and starvation concepts. It talks about
distributed systems with consensus algorithms such as Paxos and the protocols
used for authentication, such as Needham-Schroeder. Material is structured to
support theoretical understanding and practical application, making this text
useful for both students and practitioners in concurrent programming.
This PDF
offers a real-world understanding of concurrent programming in the Pharo
programming environment by concentrating on it. First, it introduces concurrent
programming and leads to a simple example based on which the fundamental ideas
are constructed. Some important concepts include creating processes, lifetimes,
ProcessorScheduler, priorities of processes, and scheduler rules so that one can
understand the management of the flow of executions. Discussions on important
APIs accompany working examples of semaphores, which should help developers in
their ability to learn synchronization techniques. It is designed for
programmers to acquire all the skills one would need to implement concurrent
solutions effectively in Pharo and thus can be a valuable member of any
programmer's library.
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.