🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1744

Re: Task synchronization

#1744
From: Randell Jesup
Date: Fri, 20 Oct 1989 06:43
13 lines
965 bytes
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!"
Technical Details
Message-ID: <8230@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!cbmvax!jesup
References: <483@glyph.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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