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,8fa1dddecbe9cd04,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!o36g2000vbl.googlegroups.com!not-for-mail From: Tomek Walkuski Newsgroups: comp.lang.ada Subject: How to determine if task is busy or not? Date: Sat, 8 Aug 2009 03:49:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: <063cfc19-a8fa-41af-b948-d4f8540cb2ab@o36g2000vbl.googlegroups.com> NNTP-Posting-Host: 79.185.181.228 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1249728588 7502 127.0.0.1 (8 Aug 2009 10:49:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 8 Aug 2009 10:49:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o36g2000vbl.googlegroups.com; posting-host=79.185.181.228; posting-account=Ar5oKAoAAAD4cyp5eTv5CtR88dGtUxxC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7656 Date: 2009-08-08T03:49:47-07:00 List-Id: Is there any way to determine if task is busy or not? I have pool of worker tasks and I want to choose one of them to give some work to do.