0% found this document useful (0 votes)
2K views1 page

Handling Global Resources

The document discusses handling global resources in a system. Global resources can be physical or logical units that are shared and accessed by multiple parts of the system. For logical resources, there is a risk of conflicting access. Each global resource must be owned by a "guardian object" that controls access to the resource through mechanisms like locks to coordinate access for physical resources or prevent conflicting access for logical resources.

Uploaded by

Lulu Tojeen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views1 page

Handling Global Resources

The document discusses handling global resources in a system. Global resources can be physical or logical units that are shared and accessed by multiple parts of the system. For logical resources, there is a risk of conflicting access. Each global resource must be owned by a "guardian object" that controls access to the resource through mechanisms like locks to coordinate access for physical resources or prevent conflicting access for logical resources.

Uploaded by

Lulu Tojeen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
  • Handling Global Resources: Describes the identification and management of global resources, differentiating between physical and logical units, and discussing control mechanisms.

Handling global resources

The system designer must identify global resources and


determine mechanisms for controlling access to them.
Global resources include physical units or logical units.
If the unit is a physical unit, then it can control itself by using
protocol for obtaining access within a concurrent system.
If the unit is a logical unit, then there is a danger of conflicting
access in a shared environment.
Each global resources must be owned by a guardian object
which controls access to it.
A lock is a logical object associated with some defined subset
of a resource that gives a lock holder the right to access the
resource directly.

Handling global resources
The system designer must identify global resources and 
determine mechanisms for controlling acces

You might also like