TYPES OF SOFTWARE SYSTEMS
Filed Under System, Software | Posted on May 25, 2008
BATCH SYSTEMS : They are a set of programs that perform certain activities which do not require any kind of input from the user. Batch systems contain one or more API which perform various tasks.
Ex: When something is typed on a word document by pressing a key, same is displayed on the monitor. The process […]
Deadlock - Algorithms
Filed Under Algorithms, Deadlock | Posted on May 25, 2008
BANKER’S ALGORITHM
Consider an example:
There are four customers: A, B, C and D, which are analogous to four processes.
The credit unit is like the resource
The banker himself is the OS
Assume each credit unit = Rs. 1000.
Not all customers need their maximum credit immediately. Hence only 10 credit units are reserved.
Process Current Max. Free = 10
A […]
Deadlock avoidance and prevention
Filed Under Prevent, Deadlock | Posted on May 25, 2008
Deadlock Prevention
In order to prevent deadlock, the system is built in such a way that no deadlock occurs. Make sure that at least one of the four conditions in which deadlock can occur does not exist.
Attacking Hold and wait : In order to ensure that hold and wait condition never occurs, two protocols can be […]
Deadlock situation
Filed Under Deadlock | Posted on May 25, 2008
A deadlock is a situation wherein two or more competing actions are waiting for the other to finish, and thus neither ever does. In the computing world deadlock refers to a specific condition when two or more processes are each waiting for another to release a resource, or more than two processes are waiting for […]