comp.lang.ada
 help / color / mirror / Atom feed
From: visicom!amstel!rlk@nosc.mil  (Bob Kitzberger)
Subject: Re: TASKS
Date: 6 Oct 92 19:47:23 GMT	[thread overview]
Message-ID: <rlk.718400843@amstel> (raw)

mperez@ringer.cs.utsa.edu (Michael Perez) writes:

>TASK body Name IS
>begin
>    Accept filename(...);
>         ...........
>         statements
>         ...........
>    End filename;
>end Name;

>It seems like the TASK is executed one time then I always get a
>TASKING_ERROR. 

You need to put a loop..end loop pair around the accept statement in the task,
otherwise your task Name will accept a single entry call, and then terminate.

	.Bob.
----------------
Bob Kitzberger          VisiCom Laboratories, Inc.
rlk@visicom.com         10052 Mesa Ridge Court, San Diego CA 92121 USA
                        +1 619 457 2111    FAX +1 619 457 0888

             reply	other threads:[~1992-10-06 19:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-06 19:47 Bob Kitzberger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-26  9:01 tasks Edmund
2002-02-26 11:35 ` tasks Frank J. Lhota
2002-02-26 11:37 ` tasks Larry Kilgallen
1992-10-06 11:23 TASKS van-bc!cs.ubc.ca!utcsri!rpi!usc!sdd.hp.com!spool.mu.edu!darwin.sura.net!c
1992-10-06  2:24 TASKS elroy.jpl.nasa.gov!swrinde!ringer!mperez
replies disabled

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