home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18080 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.3 KB

  1. Path: sparky!uunet!newsflash.concordia.ca!clyde.concordia.ca!altitude!mirkwood.CAM.ORG!hebrais
  2. From: hebrais@mirkwood.CAM.ORG (Philippe Hebrais)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: RKM description of WaitPort()
  5. Message-ID: <hebrais.10x6@mirkwood.CAM.ORG>
  6. Date: 2 Jan 93 18:21:44 GMT
  7. References: <1993Jan1.221013.26070@urbana.mcd.mot.com>
  8. Organization: Secte des adorateurs des semiconducteurs
  9. Lines: 22
  10. X-Newsreader: MeNews 2.8.0
  11.  
  12. [ qbarnes@urbana.mcd.mot.com (Quentin Barnes) writes in article <1993Jan1.221013.26070@urbana.mcd.mot.com>: ]
  13. >I was reading the description of the WaitPort() call in the RKM:Libraries
  14. >and was confused by the description.  On page 504, it says:
  15. >
  16. >       ...  It is possible to receive a signal for a port without
  17. >       a message being present yet.  The code processing the
  18. >       messages should be able to handle this. ...
  19. >
  20. >do this.  What am I missing?  What does the documentation actually
  21. >saying?
  22.  
  23. It is trying to say that when a signal is received, any number of
  24. messages may have arrived, including zero.  You should loop on
  25. GetMsg( port) until it returns NULL.  That "yet" is a word too many.
  26.  
  27. >--
  28. >Quentin Barnes
  29. >qbarnes@urbana.mcd.mot.com | ..!uiucuxc!udc!qbarnes
  30. --
  31. --              ,
  32.       Philippe Hebrais   hebrais@mirkwood.cam.org
  33.    Voix: (514)731-9146   uunet!philmtl!altitude!mirkwood!hebrais
  34.