Skip to main content
deadlock

deadlock

1 6.6
A situation in a computer where two programs wait for each other and cannot continue
  • noun
  • /ˈdɛdˌlɑk/
  • Specialized
translation icon : interbloqueo
  • In computing, a deadlock occurs when two processes are waiting for each other to release resources, preventing either from proceeding.

Examples

  • Namely, if you have two threads initializing classes in the opposite order, you can get into a deadlock.

    Blog text (17)
  • It shows the two queries that were involved in the deadlock.

    Blog text (15)
  • So it's not good to have deadlock in your code regardless, OK?

  • However, they can easily create deadlock problems if not used carefully.

    Academic text (1997)
  • In order to fix deadlocks, it's critical to understand why they occur.

    Blog text (15)
  • With threads, if you have deadlock, everything seemingly stops.

  • To do that, first we need to identify the queries involved in the deadlocks.

    Blog text (15)
  • This will only increase the chance of deadlocks in your system, and there's a better way.

    Blog text (27)
  • When a deadlock is encountered, the specifics of the deadlock are output to the SQL Server Error Log.

    Blog text (15)
  • The programmer identified a deadlock in the system that halted execution, causing the application to freeze.

Antonyms

2.5

Forward change toward a goal or better state

How Blocked

to hang
  • Specialized
167 5.6
deadlock
  • Specialized
1 6.6
blocking
18 3.4
contention
  • Specialized
1 7.6

Surface Forms

deadlock singular
deadlocks plural

Morphology

deadlock = dead + lock (semi-transparent) = dead + lock

The computing sense extends the basic 'completely stuck' metaphor into a technical context; knowing the components helps but domain knowledge of processes/resources is needed for full understanding.

Etymology

Deadlock uses the same idea of dead 'not moving' plus lock 'fastened', giving the image of things stuck together. In computing, a deadlock is when two programs each wait for the other and the system cannot continue, like two cars blocking a narrow road.