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-29 03:42:41 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: Tue, 29 Jul 2003 06:42:37 -0400 Organization: MindSpring Enterprises Message-ID: <3F264F9D.7000308@noplace.com> References: <3F1D2FDC.1070402@noplace.com> <3F1DC75A.5050300@noplace.com> <87oezm9lar.fsf@inf.enst.fr> <3F1E7E1E.8090302@noplace.com> NNTP-Posting-Host: d1.56.b8.f8 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Server-Date: 29 Jul 2003 10:42:41 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:40934 Date: 2003-07-29T10:42:41+00:00 List-Id: Really, the fact that some feature can be used in a dangerous way should not be the issue. It has never been the least bit hard in *any* language to write software that behaves badly. The issue ought to be one of providing a common interface to normal OS services - process termination with extreme prejudice being one of them. I can see a thousand good reasons not to include everything under the sun in the ARM, so I'm O.K. with saying let's not try to stick this feature in there. But that doesn't mean it couldn't be provided by most vendors in a common way through a library everyone considered "conventional" for Ada, even though it wasn't in the standard. You can't hide the OS calls. People *will* use them. If you don't give the developers a common interface to them, they just do an end-run around you and then curse your name for making it difficult for them. MDC Warren W. Gay VE3WWG wrote: >> >> What I am doing right now, is reviewing design of a C++ Windows >> application which hangs upon exit! (:-)) The reason was unknown, so a >> clever decision was made - just to wait a bit on application exit and >> then if it is still active to kill it. A fine design? (:-)) Not at >> all! Because it has 10+ DLLs and opens 20+ devices of various types. >> So after a suicide, things are going strange, very strange. Do you >> really want to legitimize such things in Ada? > > > Fine, then statically link it ;-) I understand what you're saying (I am > not a win32 fan myself). Under UNIX, this sort of thing is less of an > issue. Perhaps the "issue" is unsolvable under win32. > -- ====================================================================== 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 ======================================================================