Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-45l2p Total loading time: 0 Render date: 2024-04-26T15:33:48.700Z Has data issue: false hasContentIssue false

6 - Deadlock

Published online by Cambridge University Press:  26 February 2010

Peter A. Beerel
Affiliation:
University of Southern California
Recep O. Ozdag
Affiliation:
Fulcrum Microsystems, Calasabas Hills, California
Marcos Ferretti
Affiliation:
PST Industria Eletronica da Amazonia Ltda, Campinas, Brazil
Get access

Summary

With new technology come new challenges. Deadlock is an important issue that can manifest itself far more commonly in asynchronous circuits than in their synchronous counterparts.

Deadlock is the failure or inability of a system to proceed and arises when two or more processes expect a response from each other before completing an operation and thus mutually block each other from progressing. A more formal definition is as follows: a set P of processes is said to be deadlocked if

  • each process pi in P is waiting for an event eE,

  • each event eE is generated only by a process pjP.

The dining-philosophers problem, covered in Chapter 3, is a classic problem illustrative of deadlock. The general idea is that a number of philosophers surround a dining table with a big plate of food (in this case Chinese pot stickers) in the middle, as illustrated in Figure 6.1 for four philosophers. They spend time either thinking or eating, but because adjacent philosophers share one chopstick, they cannot eat simultaneously. A philosopher must have both the chopsticks to his or her left and right in order to eat. The philosophers never speak to each other, an aspect that introduces the possibility of a deadlock in which every philosopher holds, say, the chopstick on the left and is waiting for the chopstick on the right. This system has reached deadlock because there is a cycle of ungranted requests.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Seitz, C. L., “System timing”, in Introduction to VLSI Systems, Mead, C. A. and Conway, L. A., eds., Addison-Wesley, 1980.Google Scholar

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×