Path: utzoo!attcan!uunet!super!udel!rochester!uhura.cc.rochester.edu!sunybcs!boulder!ncar!tank!mimsy!dftsrv!ames!ubvax!ardent!rap From: rap@ardent.UUCP (Rob Peck) Newsgroups: comp.sys.amiga.tech Subject: Re: IDCMP LONELYMESSAGE Summary: thats how it tells... Keywords: IDCMP LONELYMESSAGE intertask stuff Message-ID: <719@ardent.UUCP> Date: 15 Nov 88 22:27:00 GMT References: <1362@aucs.UUCP> <1363@aucs.UUCP> Distribution: na Organization: Dana Computer, Inc., Sunnyvale, CA Lines: 23 In article <1363@aucs.UUCP>, 850347s@aucs.UUCP (Hume Smith) writes: > There's a macro in the intuition/intuition.h header LONELYMESSAGE >in the MessageClass macro setion that isn't documented anywhere. > >What can LONELYMESSAGE be used for? You don't get to use LONELYMESSAGE for anything. Intuition sets this class for any message that had, at one time, been sent to somebody's IDCMP port and has been replied back to Intuition. As things are happening, Intuition dynamically allocates its event message packets. Before it goes and allocates another one, it looks to see if its own reply port has any previously created messages that it can possibly reuse. I don't recall exactly what the source code does, since I no longer have access to it, but if I remember correctly, the class is set to LONELYMESSAGE if it is not doing involved with carrying anything useful. It is simply part of Intuition's high-water mark of previously allocated, but currently unused, message blocks that are to be reused before any other allocations take place. Probably should have been specified in "include/8^)/intuinternals.h", instead of a published file. Rob Peck