answersLogoWhite

0

There was, at one time, a one word answer to this question and that answer was:

ostrich

Referring to the ostrich algorithm I believe, meaning to stick one's head in the sand rather than deal with a particularly complex and bedeviling problem. In reality, there are strategies for handling deadlocks. This topic is very complexand generally not for the novice developer.

One good paper on this topic was written by Tong Li, Carla S. Ellis, Alvin R. Lebeck and Daniel J. Sorin (Department of Computer Science, Department of Electrical and Computer Engineering, Duke University) and presented at the 2005 USENIX Annual Technical Conference in Anaheim, California.

Their paper may be found here:

http://people.ee.duke.edu/~sorin/papers/usenix05_deadlock.pdf

In practice, depending on the application, the problem may be so rare as to be hardly worth the often considerable time and effort required to construct a handler for those rare exceptions.

Anecdotally, I have encountered deadlock situations several times in the last 25 years, usually while writing applications using named pipes (FIFO), in each case I devised my own solution designed to suit the particular situation encountered. By no means a panacea, nor do I recommend this technique.

May I suggest the author of the question consider devising a universal solution for the rest of us... A general purpose, all weather solution would certainly be appreciated. :)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

In addition to personal operating systems and server operating systems there are also mobile operating systems and?

Virtual operating system


What do you know about operating systems. What are the types of operating systems?

Operating systems (OS) are software that manage computer hardware and software resources while providing common services for computer programs. They act as an intermediary between users and the computer hardware. The main types of operating systems include batch operating systems, time-sharing operating systems, distributed operating systems, real-time operating systems, and network operating systems. Additionally, there are specialized operating systems for mobile devices, such as Android and iOS, as well as embedded systems used in various appliances.


What is safe state in os?

In operating systems, a safe state refers to a condition in which the system can allocate resources to processes in such a way that all processes can complete their execution without leading to a deadlock. Specifically, a system is considered safe if there exists a sequence of processes that can finish executing with the available resources. If a system is in a safe state, it can guarantee that resource allocation will not lead to potential deadlock situations. Conversely, if no such sequence exists, the system is in an unsafe state, which may lead to deadlock.


Advantages of network operating systems?

When you network operating systems you will have the benefit of both operating systems. You have to ensure both systems are compatible before networking them.


What has the author Melvyn A Kay written?

Melvyn A. Kay is the author of the book "Computer Systems: An Integrated Approach to Architecture and Operating Systems." It is a comprehensive and detailed guide that covers computer architecture and operating systems in an integrated manner.


What are the examples of oparating systems in the application software?

Operating systems are not in applications. Applications are installed on Operating Systems.


What are the disadvantages of operating systems?

what are the disadvantages of operating systems effects of information technology


Different types of Microsoft operating systems?

several types of operating systems are there.


Do Supercomputers use single-user multitask operating systems?

Single-user multitask operating systems are also known as network operating systems


What are two operating systems?

Two operating systems are; Windows, and Linux.


Some stand-alone operating systems are called?

complete operating system that works on a desktop computers


Do game systems have operating systems?

No they don't.