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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f94e9bacae9613b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 09:45:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: tasking programs built with GNAT insensitive to SIGTERM Date: Wed, 29 Jan 2003 11:45:02 -0600 Organization: ENST, France Message-ID: References: <6a6390b8.0301290704.7880bb16@posting.google.com> Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1043862311 45886 137.194.161.2 (29 Jan 2003 17:45:11 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 29 Jan 2003 17:45:11 +0000 (UTC) To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:33569 Date: 2003-01-29T11:45:02-06:00 ----- Original Message ----- From: "Oliver Kellogg" Newsgroups: comp.lang.ada To: Sent: Wednesday, January 29, 2003 9:04 AM Subject: tasking programs built with GNAT insensitive to SIGTERM > Hi, > > Under Linux, how come tasking programs built with GNAT > (3.2, but other versions as well) don't react to > "kill -TERM" ? Have you tried kill -KILL? Is it possible that the tasking runtime is setting the program up to ignore SIGTERM? Another possibility is that because GNAT tasking is using Linux threads, not all threads are receiving the signal. You can insure that all signals in a process group receive a signal by specifying the negative of the process group id in place of the process id in the kill command. David > > Is there a trick to make them killable? > > See also http://gcc.gnu.org/cgi-bin/gnatsweb.pl, > bug number 9480. > > Thanks, > > Oliver > > -- okellogg at freenet dot de > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada >