comp.lang.ada
 help / color / mirror / Atom feed
From: elroy.jpl.nasa.gov!swrinde!ringer!mperez@ames.arc.nasa.gov  (Michael Pere
Subject: TASKS
Date: 6 Oct 92 02:24:50 GMT	[thread overview]
Message-ID: <1992Oct6.022450.9087@ringer.cs.utsa.edu> (raw)

I am learning ada and I was having trouble with TASK. My code looks
something like this
 
PROCEDURE joe IS
   ......
   ......
   declarations
   .....

TASK Name IS
     entry filename(...);
END;

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

Begin
   while (....) Loop
       Name.filename(....);
   end loop;
end joe;

It seems like the TASK is executed one time then I always get a
TASKING_ERROR. I tried putting an exception to handle this error but
it didn't work. I think there is something about TASK that I don't understand
if anyone has any comments please let me know.
                                                    Thanks.

             reply	other threads:[~1992-10-06  2:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-06  2:24 elroy.jpl.nasa.gov!swrinde!ringer!mperez [this message]
  -- strict thread matches above, loose matches on Subject: below --
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 19:47 TASKS Bob Kitzberger
2002-02-26  9:01 tasks Edmund
2002-02-26 11:35 ` tasks Frank J. Lhota
2002-02-26 11:37 ` tasks Larry Kilgallen
replies disabled

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