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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,7a539885257021d3,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y10g2000prg.googlegroups.com!not-for-mail From: mockturtle Newsgroups: comp.lang.ada Subject: Simple & fast question about tasks Date: Mon, 26 Oct 2009 11:28:01 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5f648b50-92a8-4ce2-a093-146ba48fd785@y10g2000prg.googlegroups.com> NNTP-Posting-Host: 93.37.255.85 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1256581681 26733 127.0.0.1 (26 Oct 2009 18:28:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 26 Oct 2009 18:28:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y10g2000prg.googlegroups.com; posting-host=93.37.255.85; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8790 Date: 2009-10-26T11:28:01-07:00 List-Id: Dear all, 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]. Thank you for your help