Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.programmer Subject: Re: What's a Hanging Forbid!? Message-ID: <18291@cbmvax.commodore.com> Date: 29 Jan 91 23:46:32 GMT References: <1991Jan28.171326.6363@maytag.waterloo.edu> <2405@shodha.enet.dec.com> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 16 In article <2405@shodha.enet.dec.com> ridder@elvira.enet.dec.com (Hans Ridder) writes: >What semaphore would you suggest I use to access the Exec Task list? A) You must Disable() to play with this list (and have a pretty damn good reason for doing so!) B) Exec (and it's lists) was written before there were SignalSemaphores in the system, so it's stuck with locking methods used in the initial implementation (usually Forbid()). Unfortunate but unavoidable. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup The compiler runs Like a swift-flowing river I wait in silence. (From "The Zen of Programming") ;-)