home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18032 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!mcdchg!mcdphx!udc!qbarnes
  3. From: qbarnes@urbana.mcd.mot.com (Quentin Barnes)
  4. Subject: RKM description of WaitPort()
  5. Message-ID: <1993Jan1.221013.26070@urbana.mcd.mot.com>
  6. Sender: news@urbana.mcd.mot.com (News)
  7. Nntp-Posting-Host: neptune.urbana.mcd.mot.com
  8. Organization: Motorola Computer Group, Urbana Design Center
  9. Date: Fri, 1 Jan 1993 22:10:13 GMT
  10. Lines: 16
  11.  
  12. I was reading the description of the WaitPort() call in the RKM:Libraries
  13. and was confused by the description.  On page 504, it says:
  14.  
  15.     ...  It is possible to receive a signal for a port without
  16.     a message being present yet.  The code processing the 
  17.     messages should be able to handle this. ...
  18.  
  19. It seems to me to OS is waking up the task before it has attached the
  20. message to the specified port and it would be up the the application
  21. to spin on the GetMsg() call until the message generating the signal
  22. showed up.  This seems terribly wrong and the example code does not
  23. do this.  What am I missing?  What does the documentation actually
  24. saying?
  25. -- 
  26. Quentin Barnes
  27. qbarnes@urbana.mcd.mot.com | ..!uiucuxc!udc!qbarnes
  28.