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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ee!bloc1469
  2. From: bloc1469@ee.ee.uwm.edu (Gregory R Block)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: IPC and shared memory
  5. Date: 6 Jan 1993 23:29:21 GMT
  6. Organization: Electrical Engineering Dept. University of Wisconsin - Milwaukee
  7. Lines: 29
  8. Message-ID: <1ifq0hINNak2@uwm.edu>
  9. References: <1ib8dmINNesj@uwm.edu> <paulk.33x6@terapin.com>
  10. NNTP-Posting-Host: 129.89.2.33
  11.  
  12. In article <paulk.33x6@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
  13. >I was talking about the specific example of a multiuser BBS game.  In
  14. >that case it's easy enough to guarantee that the semaphore will
  15. >always exist until the last process accessing it exits.
  16.  
  17. Interesting.  So why not just have a server process which does the
  18. tracking of stuff, and use either spawned slaves, or use a separate
  19. binary for a slave and have the server send you a pointer to it?  That
  20. enables you to do LOTS of things by having the "master" know
  21. everything that's going on, and having the slave be that user's
  22. interface to the world.  One could write slaves that are nothing more
  23. than "windows to the world" for the users of the bbs.  More
  24. importantly, one could write "AI slaves" as seen in muds, robots if
  25. you will, or perhaps highly intelligent monsters.  It all depends on
  26. how you're designing the game, but it does sound as if you could
  27. benefit from having a master process with either subprocesses (perhaps
  28. your bbs could call an AREXX script which launched a slave or
  29. something) or as separate slaves (the more complex but more powerful
  30. solution).
  31.  
  32. Who knows.  :)
  33.  
  34. Greg
  35.  
  36. --
  37. (: (: (: (: Have you overdosed on smileys today?  Why NOT!?! :) :) :) :)
  38. (: "Our father, who art in Iowa, Hollow be thy head, Thy ideas run    :)
  39. (:  Thy will be done, At Commodore as it is at Apple"  -Dan Barrett   :)
  40. (: (: (: (: (: (: (: (: (: (: (: (: () :) :) :) Wubba, the Dark Angel :)
  41.