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-Thread: a07f3367d7,7a539885257021d3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Date: Mon, 26 Oct 2009 19:36:09 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Simple & fast question about tasks References: <5f648b50-92a8-4ce2-a093-146ba48fd785@y10g2000prg.googlegroups.com> In-Reply-To: <5f648b50-92a8-4ce2-a093-146ba48fd785@y10g2000prg.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4ae5ec0b$0$966$ba4acef3@news.orange.fr> NNTP-Posting-Date: 26 Oct 2009 19:35:55 CET NNTP-Posting-Host: 82.124.69.243 X-Trace: 1256582155 news.orange.fr 966 82.124.69.243:14144 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:8791 Date: 2009-10-26T19:35:55+01:00 List-Id: Le 26/10/2009 19:28, mockturtle a �crit : > while discussing with a student of mine, who was debugging an Ada > program, a very simple question popped out: is there any way to get a > "list" (note the quotes) of the currently active tasks? [If you are > curious: the debugging problem of my student was that his program > would not exist because there was a task still "alive" and he could > not understand which one]. If you are using gdb, then "info tasks" should help. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B