Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Deadlock, livelock, Coffman conditions?

Ook bekend als: deadlock · livelock · Coffman conditions

Definition 13.2 University Computer Science — Year 3 · Hoofdstuk 13 — Concurrency: Deadlock, Monitors and Lock-Free Structures

A set of threads is in deadlock when each of them waits for something that only another thread of the set can provide, so that none of them will ever move again. In a livelock the threads keep taking steps, but none of the steps makes progress. The Coffman conditions for a deadlock over resources are: mutual exclusion (a resource is held by one thread at a time), hold and wait (a thread holds resources while it waits for others), no preemption (a resource is released only by its holder), and circular wait (a cycle of threads, each waiting for a resource the next one holds).

Lees in het hoofdstuk →