comp.lang.ada
 help / color / mirror / Atom feed
From: "Theodore E. Dennison" <dennison@escmail.orl.mmc.com>
Subject: Re: Tasking
Date: 1996/06/05
Date: 1996-06-05T00:00:00+00:00	[thread overview]
Message-ID: <31B5C3B3.ABD322C@escmail.orl.mmc.com> (raw)
In-Reply-To: tat115.4.31B58EBB@psu.edu


Tod Trowbridge wrote:
> 
>     I have a task in a package.  If a procedure that withs
> that package calls the task, does the task have to be waiting
> at the accept statement, or will the procedure wait for the
> task to get there.

The procedure will wait for the task to "accept". 

If you want the other behavior you described, use a select
statement of the following form:
   select
      entry_call_statement
      [sequence_of_statements]
   else
      sequence_of_statements
   end select;

This is called a "Conditional Entry Call".

-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




  reply	other threads:[~1996-06-05  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-05  0:00 Tasking Tod Trowbridge
1996-06-05  0:00 ` Theodore E. Dennison [this message]
1996-06-07  0:00 ` Tasking Mark Fisher
  -- strict thread matches above, loose matches on Subject: below --
1998-10-07  0:00 tasking grave
1998-10-17  0:00 Tasking Chang Yang Lim
1998-10-17  0:00 ` Tasking David C. Hoos, Sr.
1998-10-27  0:00 Tasking Chang Yang Lim
2005-12-16  7:33 Tasking krischik
2005-12-16  8:58 ` Tasking Maciej Sobczak
2005-12-16  9:01 ` Tasking christoph.grein
2005-12-16  9:03 ` Tasking Dmitry A. Kazakov
replies disabled

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