comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Freezing a task
Date: Thu, 17 Nov 2011 10:34:21 -0700
Date: 2011-11-17T10:34:21-07:00	[thread overview]
Message-ID: <ja3glt$o7$1@tornado.tornevall.net> (raw)
In-Reply-To: <32992849.648.1321544004241.JavaMail.geo-discussion-forums@vbmh5>

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



  parent reply	other threads:[~2011-11-17 17:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-17 15:33 Freezing a task Rego, P.
2011-11-17 16:00 ` Simon Wright
2011-11-17 16:22   ` Dmitry A. Kazakov
2011-11-17 16:53     ` Dmitry A. Kazakov
2011-11-17 18:27     ` Simon Wright
2011-11-18  1:23     ` Rego, P.
2011-11-18  6:04       ` Jeffrey Carter
2011-11-18  8:47       ` Dmitry A. Kazakov
2011-11-18 10:05         ` Simon Wright
2011-11-18 11:41           ` Georg Bauhaus
2011-11-18 13:42             ` Dmitry A. Kazakov
2011-11-17 16:00 ` Dmitry A. Kazakov
2011-11-17 16:53   ` stefan-lucks
2011-11-17 17:08     ` Dmitry A. Kazakov
2011-11-17 17:13 ` Adam Beneschan
2011-11-17 18:01   ` AdaMagica
2011-11-18  1:22   ` Rego, P.
2011-11-17 17:34 ` Jeffrey Carter [this message]
2011-11-18  1:34   ` Rego, P.
2011-11-18  8:56     ` Dmitry A. Kazakov
2011-11-18  7:24 ` anon
2011-11-18 22:25   ` Anh Vo
2011-11-19  7:37     ` anon
2011-11-22  1:58   ` Rego, P.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox