Author Topic: What is Dead Lock.......?  (Read 780 times)

sandeep2444

  • Blue Belt
  • ****
  • Posts: 154
  • Karma: +0/-0
What is Dead Lock.......?
« on: December 26, 2014, 11:13:32 AM »
Hi,

Dead-Lock is occurred in multiple users Computing Environment. As we know that there is Many Number of users those are going to perform their Transactions. Dead-Lock has occurred when two or More Users are requesting for data item or for a Resource of System for example two or more users Request for the Printers at a Same Time and When Dead-Lock has occurred.


Thanks,

siljy.datasoft

  • Green Belt
  • *****
  • Posts: 453
  • Karma: +0/-0
Re: What is Dead Lock.......?
« Reply #1 on: April 19, 2015, 11:13:26 PM »
hii


A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function. The earliest computer operating systems ran only one program at a time.

Thankz

nidhinpereira

  • Green Belt
  • *****
  • Posts: 261
  • Karma: +0/-0
Re: What is Dead Lock.......?
« Reply #2 on: June 15, 2015, 01:54:56 AM »
 Recall that one definition of an operating system is a resource allocator. There are many resources that can be allocated to only one process at a time, and we have seen several operating system features that allow this, such as mutexes, semaphores or file locks.

Sometimes a process has to reserve more than one resource. For example, a process which copies files from one tape to another generally requires two tape drives. A process which deals with databases may need to lock multiple records in a database.

In general, resources allocated to a process are not preemptable; this means that once a resource has been allocated to a process, there is no simple mechanism by which the system can take the resource back from the process unless the process voluntarily gives it up or the system administrator kills the process. This can lead to a situation called deadlock. A set of processes or threads is deadlocked when each process or thread is waiting for a resource to be freed which is controlled by another process. Here is an example of a situation where deadlock can occur.

priyanka

  • Brown belt
  • ******
  • Posts: 723
  • Karma: +0/-0
Re: What is Dead Lock.......?
« Reply #3 on: July 05, 2015, 07:21:47 PM »
hi,

A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function.

The earliest computer operating systems ran only one program at a time. All of the resources of the system were available to this one program. Later, operating systems ran multiple programs at once, interleaving them. Programs were required to specify in advance what resources they needed so that they could avoid conflicts with other programs running at the same time. Eventually some operating systems offered dynamic allocation of resources. Programs could request further allocations of resources after they had begun running. This led to the problem of the deadlock. Here is the simplest example:


Thanks
priyanka

santhoshidatasoft

  • Brown belt
  • ******
  • Posts: 668
  • Karma: +0/-0
Re: What is Dead Lock.......?
« Reply #4 on: October 14, 2015, 10:40:17 AM »
A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function.

The earliest computer operating systems ran only one program at a time. All of the resources of the system were available to this one program. Later, operating systems ran multiple programs at once, interleaving them. Programs were required to specify in advance what resources they needed so that they could avoid conflicts with other programs running at the same time. Eventually some operating systems offered dynamic allocation of resources. Programs could request further allocations of resources after they had begun running. This led to the problem of the deadlock