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