Article View: comp.sys.amiga.tech
Article #1598Re: Procure() and Vacate()
From: Randell Jesup
Date: Tue, 10 Oct 1989 21:12
Date: Tue, 10 Oct 1989 21:12
17 lines
1471 bytes
1471 bytes
In article <18139@pasteur.Berkeley.EDU> navas@cory.Berkeley.EDU.UUCP (David C. Navas) writes:
>In article <8127@cbmvax.UUCP> jesup@cbmvax.UUCP (Randell Jesup) writes:
>> ObtainSemaphoreList()/ReleaseSemaphoreList().
>
>If that's true, then somebody is confused. Doesn't OSList() wait until it
>gets the *whole* list of semaphores. I only want to wait until *one* of them
>is available.
Ah, I misunderstood the question. ObtainSemaphoreList waits till all
the semaphores are available. Try the message-based semaphores (or start
one task/semaphore, and have the task notify the main process when it gets
the semaphore - a real pain).
--
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:
<8138@cbmvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!brutus.cs.uiuc.edu!apple!oliveb!amiga!cbmvax!jesupReferences:
<186@egrunix.UUCP> <8068@cbmvax.UUCP> <191@egrunix.UUCP> <8084@cbmvax.UUCP> <18004@pasteur.Berkeley.EDU> <8109@cbmvax.UUCP> <18069@pasteur.Berkeley.EDU> <8127@cbmvax.UUCP> <18139@pasteur.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!brutus.cs.uiuc.edu!apple!oliveb!amiga!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Procure() and Vacate() Message-ID: <8138@cbmvax.UUCP> Date: 10 Oct 89 21:12:48 GMT References: <186@egrunix.UUCP> <8068@cbmvax.UUCP> <191@egrunix.UUCP> <8084@cbmvax.UUCP> <18004@pasteur.Berkeley.EDU> <8109@cbmvax.UUCP> <18069@pasteur.Berkeley.EDU> <8127@cbmvax.UUCP> <18139@pasteur.Berkeley.EDU> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 17