Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Deadlock, livelock, Coffman conditions?

Também chamado de: deadlock · livelock · Coffman conditions

Definition 13.2 University Computer Science — Year 3 · Capítulo 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).

Ler no capítulo →