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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7897733b1978b6a4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.30.34 with SMTP id p2mr517811pbh.4.1321551266032; Thu, 17 Nov 2011 09:34:26 -0800 (PST) Path: h5ni2145pba.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!news.tornevall.net!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Freezing a task Date: Thu, 17 Nov 2011 10:34:21 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <32992849.648.1321544004241.JavaMail.geo-discussion-forums@vbmh5> NNTP-Posting-Host: 5cec5119233b1e6d3012333f1d7bcf1a Mime-Version: 1.0 X-Trace: 6e373eb7ce1bea1ab3edef9e700f7a8f X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <32992849.648.1321544004241.JavaMail.geo-discussion-forums@vbmh5> X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=6e373eb7ce1bea1ab3edef9e700f7a8f X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: news2.google.com comp.lang.ada:14441 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2011-11-17T10:34:21-07:00 List-Id: On 11/17/2011 08:33 AM, Rego, P. wrote: > > is there a way that I can "freeze" the task in its current state? If, for > instance, the execution finished executing Put ("2");, how can I freeze it > and later I can turn it to continue? I want to provoque a freeze from outside > the task, and also from outside, order it to continue. The real question is "What is the problem you're trying to solve?" What you're asking about is a possible solution to some problem. If we know what that problem is, we can likely provide a suitable solution. With only the possible solution, all we can tell you is it won't work. Ada tasks are self scheduling; you can't schedule them externally. -- Jeff Carter "You can never forget too much about C++." 115