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

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!usc!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!frmop11!barilvm!aristo.tau.ac.il!shacha1
  3. From: shacha1@tau.ac.il (SHEMESH SHACHAR)
  4. Subject: RKM description of WaitPort()
  5. Message-ID: <1993Jan7.122222.9718@aristo.tau.ac.il>
  6. Sender: usenet@aristo.tau.ac.il (USENET)
  7. Nntp-Posting-Host: ccsg.tau.ac.il
  8. Organization: Tel-Aviv University Computation Center
  9. X-Newsreader: TIN [version 1.1 PL8]
  10. Date: Thu, 7 Jan 1993 12:22:22 GMT
  11. Lines: 15
  12.  
  13.  
  14. Does waking up from Wait() clear the signal that caused the waking up,
  15. or should I manually clear it with SetSignal (I am talking of a case
  16. in which the entire communication between the tasks is via signals,
  17. and not via Messages). Also - If the former's answer is no - Does'nt
  18. GetMsging a port clears it's signal when done? If not - how am I to
  19. construct a program that is to wait on sevral ports, if I want it
  20. never to enter a busy loop in which it keeps waking up because of a
  21. messageport with no more messages, but with a leftover signal set?
  22. --
  23. "Is it just me or has the world always been like that and I've been to
  24. wraped up in myself to notice?" [Arthur Dent, THHGTTG]
  25. Shachar Shemesh  (TheSun on IRC) shacha1@ccsg.tau.ac.il
  26. My opinions are my own, not those of Commodore. In fact - I have
  27. nothing to do with Commodore at all.
  28.