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

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jato!jdickson
  3. From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
  4. Subject: Re: RKM description of WaitPort()
  5. Message-ID: <1993Jan8.065325.25020@jato.jpl.nasa.gov>
  6. Keywords: WaitPort, MsgPorts
  7. Organization: Jet Propulsion Laboratory
  8. References: <1993Jan7.201052.13703@samba.oit.unc.edu> <1993Jan7.230844.17921@oracle.us.oracle.com> <1iijp8INN1fl@hpsdlss5.sdd.hp.com>
  9. Date: Fri, 8 Jan 1993 06:53:25 GMT
  10. Lines: 24
  11.  
  12. In article <1iijp8INN1fl@hpsdlss5.sdd.hp.com> denson@sdd.hp.com (Craig Denson) writes:
  13. >In article <1993Jan7.230844.17921@oracle.us.oracle.com> dnavas@oracle.uucp (David Navas) writes:
  14. >
  15. >>Yep, the "simple" way to deal with message processing can cause problems --
  16. >>particularly if you've done something weird like take apart loops in your
  17. >>code and send a message to yourself to compute the next part of your loop
  18. >>(useful for handling things like ARexx-quit, ^C, window-close, etc. messages).
  19. >
  20. > speaking of sending messages to yourself - is their anything
  21. >dangerous about sending a message to your window's msgport? will it
  22. >upset intuition - i can't see why it should.
  23. >
  24. >craig
  25.  
  26. Well, you wouldn't think there was any harm is using your process message port 
  27. either, but if you do an ASYNC_PACKET guru will result. Like your process port
  28. you really don't own the window message port - Intuition does...and I'd imagine
  29. that trying to use it out of context would cause a similiar outcome. Sending 
  30. messages to your UserPort should be ok though.
  31.  
  32. Jeff
  33.  
  34.  
  35.  
  36.