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,91c58472289c1ab5,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!o21g2000vbl.googlegroups.com!not-for-mail From: Pablo Newsgroups: comp.lang.ada Subject: Tasks reinitializing Date: Thu, 17 Sep 2009 11:21:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0bf2270c-6998-41f1-9895-b545026f312e@o21g2000vbl.googlegroups.com> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1253211702 22278 127.0.0.1 (17 Sep 2009 18:21:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 17 Sep 2009 18:21:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o21g2000vbl.googlegroups.com; posting-host=201.7.145.1; posting-account=n9Sa1woAAACZc_iwSjaEkj9Lnt-XVrSr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8372 Date: 2009-09-17T11:21:41-07:00 List-Id: How can I reinitialize a task? Say us, I have two cases: A task defined as task type Task_type is entry Start; end Task_type; so the object defined as Init : Init_type; and inside a procedure, the task is initialized with accept Start; and now: 1) In run time, the task is terminated by aborting process (abort Init) before its end, and in the same session, I need to turn it on again, but now from the beginning. 2) In run time, the task is finished by very end, and in the same session, I need to start it again from beginning. Please help me!