Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Task synchronization Keywords: spleen Message-ID: <8230@cbmvax.UUCP> Date: 20 Oct 89 06:43:52 GMT References: <483@glyph.UUCP> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 13 In article <483@glyph.UUCP> ahh@glyph.UUCP (Andy Heffernan) writes: > while (FindTask(task_name)) ; /* No raciness */ > > < deallocate stack and Task > Matt showed a very good way. My comment is on your FindTask() busy-loop: this is VERY nasty to the system, as FindTask(name) must Disable() in order to search the task lists. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup Common phrase heard at Amiga Devcon '89: "It's in there!"