home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ee!bloc1469
- From: bloc1469@ee.ee.uwm.edu (Gregory R Block)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: IPC and shared memory
- Date: 6 Jan 1993 05:17:38 GMT
- Organization: University of Wisconsin - Milwaukee
- Lines: 23
- Message-ID: <1idq1iINNqh@uwm.edu>
- References: <paulk.31yk@terapin.com> <1ib8dmINNesj@uwm.edu> <1993Jan5.205246.28184@ninja.zso.dec.com>
- NNTP-Posting-Host: 129.89.2.33
-
- >>Like public message ports, each time you wish to access a public
- >>semaphore you must do a Forbid();FindSemaphore();Permit().
-
- I noticed this nearly immediately after I posted. (blush) ;)
-
- >Sort of off the subject, but presumably you'd want to do *something*
- >between the FindSemaphore() and the Permit(), no? Otherwise, what's
- >being protected by the Forbid()/Permit()?
-
- Ya. In the case of FindSemaphore, above, you'll want to do your
- ObtainSemaphore()/ObtainSemaphoreShared() call. Sorry. :) In the
- related case I mentioned earlier, for a public message port, it would
- be Forbid();FindPort();PutMsg();Permit(). Eek. :)
-
- Greg
-
-
-
- --
- (: (: (: (: Have you overdosed on smileys today? Why NOT!?! :) :) :) :)
- (: "Our father, who art in Iowa, Hollow be thy head, Thy ideas run :)
- (: Thy will be done, At Commodore as it is at Apple" -Dan Barrett :)
- (: (: (: (: (: (: (: (: (: (: (: (: () :) :) :) Wubba, the Dark Angel :)
-