OnlineWoerterBuecher.de
Internes

Lexikon


Dining Philosophers Problem


(DPP) A problem introduced by Dijkstra concerning resource allocation between processes. The DPP is a model and universal method for testing and comparing theories on resource allocation. Dijkstra hoped to use it to help create a layered operating system, by creating a machine which could be consider to be an entirely deterministic automaton. The problem consists of a finite set of processes which share a finite set of resources, each of which can be used by only one process at a time, thus leading to potential deadlock. The DPP visualises this as a number of philosophers sitting round a dining table with a fork between each adjacent pair. Each philosopher may arbitrarily decide to use either the fork to his left or the one to his right but each fork may only be used by one philosopher at a time. Several potential solutions have been considered. Semaphores - a simple, but unfair solution where each resources is a binary semaphore and additional semaphores are used to avoid deadlock and/or starvation. Critical Regions - each processor is protected from interference while it exclusively uses a resource. Monitors - the process waits until all required resources are available then grabs all of them for use. The best solution allows the maximum parallelism for any number of processes (philosophers), by using an array to track the process' current state (i.e. hungry, eating, thinking). This solution maintains an array of semaphores, so hungry philosophers trying to acquire resources can block if the needed forks are busy. (1998-08-09)

In addition suitable contents:
[ = ] [ ad ] [ adjacent ] [ ai ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ array ] [ as ] [ at ] [ au ] [ automaton ] [ av ] [ b ] [ be ] [ bi ] [ binary ] [ bit ] [ block ] [ bs ] [ bus ] [ by ] [ C ] [ ca ] [ cat ] [ ch ] [ ci ] [ ck ] [ cl ] [ co ] [ com ] [ con ] [ cons ] [ cr ] [ cu ] [ current ] [ D ] [ dd ] [ de ] [ dead ] [ deadlock ] [ dec ] [ deterministic ] [ ding ] [ dj ] [ DP ] [ DPP ] [ du ] [ E ] [ ec ] [ ed ] [ ee ] [ eg ] [ er ] [ era ] [ es ] [ et ] [ excl ] [ fi ] [ file ] [ finite ] [ fo ] [ for ] [ fork ] [ fr ] [ gh ] [ gi ] [ gr ] [ gry ] [ h ] [ hop ] [ hr ] [ ht ] [ hu ] [ hung ] [ id ] [ ie ] [ il ] [ in ] [ int ] [ io ] [ ir ] [ is ] [ it ] [ ki ] [ la ] [ layer ] [ ld ] [ leading ] [ Lex ] [ li ] [ location ] [ lu ] [ ly ] [ M ] [ ma ] [ machine ] [ map ] [ method ] [ mo ] [ mod ] [ mode ] [ model ] [ module ] [ mp ] [ mu ] [ na ] [ nc ] [ ne ] [ nf ] [ ng ] [ ni ] [ nl ] [ ns ] [ nu ] [ om ] [ op ] [ operating system ] [ pa ] [ parallelism ] [ pe ] [ ph ] [ pl ] [ pr ] [ process ] [ processor ] [ query ] [ rc ] [ re ] [ ro ] [ S ] [ sa ] [ se ] [ semaphore ] [ set ] [ sh ] [ shar ] [ si ] [ sit ] [ sm ] [ so ] [ solution ] [ source ] [ st ] [ state ] [ su ] [ sy ] [ system ] [ T ] [ table ] [ tar ] [ test ] [ testing ] [ th ] [ to ] [ tr ] [ track ] [ tt ] [ tw ] [ ua ] [ um ] [ us ] [ va ] [ ve ] [ vi ] [ while ] [ ws ] [ ye ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (8573 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.2049 Seconds, with 17 Database-Queries
Zurück zur Startseite