If the system is deadlocked, it implies that each process is holding one resource
and is waiting for one more. Since there are 3 processes and 4 resources, one
process must be able to obtain two resources. This process requires no more
resources and therefore it will return its resources when done.
The resources that are shared by all threads of a process in Operating SystemsareMain memoryInput Output DevicesInput Output ChannelsFiles
when several processes can use a device at the same time then those devices are termed as shared devices.
a situation in which multiple processes read and write a shared data item and the final result depends on the relative timing of their execution
Yes, each process has its own private data segment that is not shared with other processes. Processes can share executable code because the code does not get modified, but data is particular to the program that is using it, so it must be kept separate.
processes are concurrent if they exist at the same time.concurrent process can function completely indepently to one another. two process are concurrent if their execution can overlap in time; that is, the execution of the secon process starts before the first process completes. concurrent processes generally interact through the following mechanisms: Shared variables Message passing
Shared resources, such as kitchen and bathrooms, were typically the most common aspects of communal living. Additionally, communal decision-making processes and shared responsibilities for household tasks were also common in communal living arrangements.
not always
Cooperative cataloguing is a collaborative process where libraries share cataloguing resources, expertise, and records to create a shared catalogue or database. It allows libraries to pool their resources and reduce duplication of efforts in creating bibliographic records for shared materials. This can improve access to information for library users and streamline cataloguing processes for participating institutions.
Concurrent processes require access to shared resources, synchronization mechanisms to coordinate access to those resources, and a way to manage communication and data exchange between processes. The operating system must provide support for process management, scheduling, and inter-process communication to enable concurrency. Additionally, proper error handling and robust design are essential for successful execution of concurrent processes.
A communal house is a shared living space where multiple individuals or families reside together, sharing common areas and resources such as kitchens, bathrooms, and living rooms. Residents may also participate in shared responsibilities and decision-making processes within the household.
The resources that are shared by all threads of a process in Operating SystemsareMain memoryInput Output DevicesInput Output ChannelsFiles
mutual exclusion makes sure that concurrent processes access shared resources or data in a serialized way. if a process say Pi is executing in its critical section , then no other processes can be executing in their critical section.
when several processes can use a device at the same time then those devices are termed as shared devices.
Distributed File System
Knowledge and valuable resources are shared among scientists.
net view \\computername use this command to verify that resources on a remote computer are shared
Consider Lake Mead which is shared with Nevada and Lake Powell which is shared with Utah.