home *** CD-ROM | disk | FTP | other *** search
- Path: doc.ic.ac.uk!not-for-mail
- From: mdf@doc.ic.ac.uk (Martin Frost)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: MsgPorts and lists
- Date: 26 Feb 1996 17:18:12 -0000
- Organization: Dept. of Computing, Imperial College, University of London, UK.
- Distribution: world
- Message-ID: <4gsq0k$ds1@oak42.doc.ic.ac.uk>
- References: <1527.6618T48T2102@amiga.pp.se> <31227335.0@eden.adam.com.au> <4g2clq$1n1@oak73.doc.ic.ac.uk> <490.6623T1192T1723@amiga.pp.se>
- Reply-To: mdf@doc.ic.ac.uk (Martin Frost)
- NNTP-Posting-Host: oak42.doc.ic.ac.uk
- X-Newsreader: mxrn 6.18-23
-
-
- In article <490.6623T1192T1723@amiga.pp.se>, mikael.berglund@amiga.pp.se (Mikael Berglund) writes:
- >And is Intuition seen as interrupt or process? Anyone? Will
- >Disable()/Enable() prevent Intuition from adding messages to the port?
-
- Looking at the CloseWindowSafely() code in RKM Libraries, it appears that just
- a Forbid() is actually sufficient. The code does a Forbid() and then scans
- through the list on the ln_Succ pointers, Remove()ing and ReplyMsg()ing those
- it doesn't want.
-
- So it seems that the extreme of Disable() is unnecessary.
-
- Martin
-