home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!csus.edu!netcom.com!netcomsv!terapin!paulk
- From: paulk@terapin.com (Paul Kienitz)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: IPC and shared memory
- References: <1ib8dmINNesj@uwm.edu>
- Message-ID: <paulk.33x6@terapin.com>
- Date: 5 Jan 93 20:34:19 PST
- Organization: BBS
- Lines: 11
-
- > > The operation of FindSemaphore may be clunky but each task only
- > > has to do it once.
-
- > Actually, no.
- >
- > Like public message ports, each time you wish to access a public
- > semaphore you must do a Forbid();FindSemaphore();Permit().
-
- I was talking about the specific example of a multiuser BBS game. In
- that case it's easy enough to guarantee that the semaphore will
- always exist until the last process accessing it exits.
-