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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8893269a4640c798 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-19 08:44:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: terminate applications Date: Sat, 19 Jul 2003 11:44:51 -0400 Organization: MindSpring Enterprises Message-ID: <3F196773.2060809@noplace.com> References: <3F17DF3C.4080204@noplace.com> NNTP-Posting-Host: d1.56.b4.cb Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Server-Date: 19 Jul 2003 15:44:55 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:40505 Date: 2003-07-19T15:44:55+00:00 List-Id: I've got a program that was busy doing a variety of things including network I/O with winsock calls. In most prior versions of Gnat, it wouldn't terminate when killing the environment task. I have not checked it with the latest version of Gnat, so I don't know that it is still broke. It was too difficult to isolate the exact combination of circumstances that kept it from getting killed, so I couldn't make a simple example program without way too much effort. Since it is not a "Mission Critical" application, I settled for terminating it with a control-C instead of trying to fix it. Too bad the compiler can't recognize terminating the environment task as a special case and duplicate the behavior of the control-C. MDC Jeffrey Creem wrote: > > I've done it under Solaris (GNAT) and Windows XP (GNAT 3.15p). I can not say > that I have tried it under all combinations of programs (OS calls, > partitions, etc)..but it works for the cases I have tried. > > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "In general the art of government consists in taking as much money as possible from one class of citizens to give to the other." -- Voltaire ======================================================================