home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18199 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  742 b 

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