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: 103376,1dc110ae98b0b7f1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!y5g2000hsf.googlegroups.com!not-for-mail From: gpriv@axonx.com Newsgroups: comp.lang.ada Subject: Re: Task question Date: Mon, 10 Dec 2007 15:13:14 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <31235206-1025-467c-8444-07a8eacc9b48@e6g2000prf.googlegroups.com> <68057b42-eff2-4d97-ac7f-7aed6b69dff6@s19g2000prg.googlegroups.com> <5957efe9-c66a-416d-8973-1bd7ecf7ecd2@d4g2000prg.googlegroups.com> NNTP-Posting-Host: 151.196.71.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1197328394 917 127.0.0.1 (10 Dec 2007 23:13:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 10 Dec 2007 23:13:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y5g2000hsf.googlegroups.com; posting-host=151.196.71.114; posting-account=YaY8rAoAAAAAnFXOECY3BGVJsrvFJCgy User-Agent: G2/1.0 X-HTTP-Via: 1.1 SPARKS X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18875 Date: 2007-12-10T15:13:14-08:00 List-Id: On Dec 10, 5:51 pm, shaunpatter...@gmail.com wrote: > Does the function STOP working after 10 seconds or does it delay and > let other tasks process? It is going to be Killed (aborted) after 10 seconds unless funcPtr will finish running before that. I gave delay 10.0 as an example, you can wait on any event there, including user provided semaphore. Ada tasking model is extremely flexible: all depends what you want it to do for you. George