home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!think.com!spool.mu.edu!yale.edu!ira.uka.de!Sirius.dfn.de!ntubsibr!duening
- From: duening@ibr.cs.tu-bs.de (Lars Duening)
- Subject: Re: RKM description of WaitPort()
- Message-ID: <1993Jan4.195515.13461@ibr.cs.tu-bs.de>
- Sender: postnntp@ibr.cs.tu-bs.de (Mr. Nntp Inews Entry)
- Reply-To: duening@ibr.cs.tu-bs.de (Lars Duening)
- Organization: TU Braunschweig, Informatik (Bueltenweg), Germany
- References: <1993Jan1.221013.26070@urbana.mcd.mot.com>
- Date: Mon, 4 Jan 1993 19:55:15 GMT
- Lines: 19
-
- qbarnes@urbana.mcd.mot.com (Quentin Barnes) wrote in
- <1993Jan1.221013.26070@urbana.mcd.mot.com>:
-
- > I was reading the description of the WaitPort() call in the RKM:Libraries
- > and was confused by the description. On page 504, it says:
- >
- > ... It is possible to receive a signal for a port without
- > a message being present yet. The code processing the
- > messages should be able to handle this. ...
-
- I read from this doc that a port-message-arrival-signal is not
- protected from being used by any other process.
- I.e. if you're port signal is raised, do not assume that a message
- has arrived - your program could have been tricked. But you can be
- sure that every arriving message will set the signal after it has been
- attached to the port.
- --
- Lars Duening
- duening@ibr.cs.tu-bs.de
-