Chapter 5 Mutual Exclusion and Synchronization Essay

User Generated

inznw2020

Computer Science

Description

Chapter 5 Concurrency: Mutual Exclusion and Synchronization (Advanced OS)

The running of processes and threads often cause problems with issues of "Mutual Exclusion and Synchronization" and "Deadlock and Starvation". Once we leave the world of single DOS based processes these become significant issues that programmers typically need to address before the user encounters them. 

Discuss how an operating system manages "Mutual Exclusion and Synchronization", how they are instantiated and might be overcome along with the respective advantages and disadvantages. Do not discuss MS Windows OS. Instead, you may choose from Linux, UNIX, ROS, z/OS, or VM.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Attached.

Running Head: MUTUAL EXCLUSION AND SYNCHRONIZATION

Mutual Exclusion and Synchronization
Author's Name
Institutional Affiliation
Date

1

MUTUAL EXCLUSION AND SYNCHRONIZATION

2

Mutual Exclusion and Synchronization
Programing is based on interconnected systems that function collectively to produce the
desired solution. However, when running numerous processes and threads, the system is likely to
experience issues of mutual exclusion and synchronization as well as deadlock and starvation. A
deadlock is a situation where the system encounters the permanent blocking of a series of processes
that are running as threads and competes for the system's resources (Ramadhan and Siahaan 2016).
Unfortunately, only one process can use a system's resources at each given time. Hence the other
threads starve. Luckily, mutual exclusion and synchronization are effective methods of dealing
with issues concerning system deadlocks and starvation (Ramadhan and Siahaan 2016). This is
because mutual exclusion allows only a single thread to access the system's shared resources at
any given period. Equally, the order at which the process access shared resources can be
synchronized. This then reduces ...


Anonymous
I use Studypool every time I need help studying, and it never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags