home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18184 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!ninja!zowie.zso.dec.com!ridder
  3. From: ridder@zowie.zso.dec.com (Hans)
  4. Subject: Re: IPC and shared memory
  5. Message-ID: <1993Jan5.205246.28184@ninja.zso.dec.com>
  6. Sender: news@ninja.zso.dec.com (USENET News System)
  7. Nntp-Posting-Host: zowie.zso.dec.com
  8. Organization: Digital Equipment Corporation - DECwest Engineering
  9. References: <1993Jan2.081756.21863@jato.jpl.nasa.gov> <paulk.31yk@terapin.com> <1ib8dmINNesj@uwm.edu>
  10. Date: Tue, 5 Jan 1993 20:52:46 GMT
  11. Lines: 21
  12.  
  13. In article <1ib8dmINNesj@uwm.edu> bloc1469@ee.ee.uwm.edu (Gregory R Block) writes:
  14. >>The operation of FindSemaphore may be clunky but each task only has
  15. >>to do it once.
  16. >
  17. >Actually, no.
  18. >
  19. >Like public message ports, each time you wish to access a public
  20. >semaphore you must do a Forbid();FindSemaphore();Permit().
  21.  
  22. Sort of off the subject, but presumably you'd want to do *something*
  23. between the FindSemaphore() and the Permit(), no?  Otherwise, what's
  24. being protected by the Forbid()/Permit()?
  25.  
  26. >Greg
  27.  
  28. -hans
  29. -- 
  30.   Hans-Gabriel Ridder <ridder@rust.zso.dec.com>
  31.   DECwest Engineering, Bellevue, Washington, USA
  32.   "I'd rather be writing MACRO-20!"
  33.   Any opinions expressed are not those of my employer, honest.
  34.