From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=5.0 tests=BAYES_20,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!agate!eos!aio!dnsurber From: dnsurber@lescsse.jsc.nasa.gov (Douglas Surber) Newsgroups: comp.lang.ada Subject: Re: Meridian Ada compiler for Macintosh Message-ID: Date: 25 Mar 91 14:01:19 GMT References: <4504@dftsrv.gsfc.nasa.gov> <10691@ncar.ucar.edu> <45957@ut-emx.uucp> Sender: news@aio.jsc.nasa.gov (USENET News System) Reply-To: dsurber@nasamail.nasa.gov Organization: nasa-jsc List-Id: I have been using the Meridian Ada compiler for the Macintosh for about four weeks now. Overall I am pleased; it does almost everything I want to do. However . . . You cannot make calls to QuickDraw except from the main task. I had originally planned on structuring my applications as several tasks, one to handle window management, one to handle mouse and keyboard events, one (or more) to do the real work. But this doesn't work. These secondary tasks cannot make QuickDraw calls. :-( I haven't done any poking around to determine why this is the case, but my guess is that the secondary task stack space is allocated on the heap so QuickDraw thinks that StackTop has passed HeapTop and generates an out of memory condition. For dynamically created tasks I can see why allocating the task stack space on the heap would be necessary, but for static tasks it should be possible to allocate the stack space at the bottom of the main task stack. This would keep QuickDraw from getting confused. I talked to Meridian and they said they would have a techie type call me, but they haven't done so yet. Other than the above I am pleased, and you can't beat the price. The $149 price expires the comming Sunday 31MAR91, so if you are interested, hurry. Douglas Surber -- Douglas Surber Internet: lobster!lescsse!dnsurber@menudo.uh.edu Lockheed (LESC) UUCP: lobster!lescsse!dnsurber SSE SSFP NASAmail: dnsurber/jsc/nasa Houston, Texas Phone: 713-283-5195