comp.lang.ada
 help / color / mirror / Atom feed
* tasking
@ 1998-10-07  0:00 grave
  1998-10-07  0:00 ` an error in tasking grave
  0 siblings, 1 reply; 17+ messages in thread
From: grave @ 1998-10-07  0:00 UTC (permalink / raw)


Hi,

I'm wanting to kill a task to let an exception propagate and kill the
process. How can I do this if the task is already excuting some part of
code like this :

select
   entry start;
   
or
   terminate;
end select;

Here I'm wanting to kill the task when it works in Do_Some_Stuff_Here;

Is this possible ?




^ permalink raw reply	[flat|nested] 17+ messages in thread
* Tasking
@ 2005-12-16  7:33 krischik
  2005-12-16  8:58 ` Tasking Maciej Sobczak
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: krischik @ 2005-12-16  7:33 UTC (permalink / raw)


Hello,

we have a question about Tasking at wikibooks:

http://en.wikibooks.org/wiki/Talk:Ada_Programming/Tasking

Anybody can help us out here?

Martin




^ permalink raw reply	[flat|nested] 17+ messages in thread
* Tasking
@ 1998-10-27  0:00 Chang Yang Lim
  0 siblings, 0 replies; 17+ messages in thread
From: Chang Yang Lim @ 1998-10-27  0:00 UTC (permalink / raw)


Hi everyone, I have problems with tasking again. ok, let me put in this
way:
I am using  protected xxxx is  in the main program. however, there are
few things that i will load the procedures from another package. All
procedures loaded from other packages are running in tasking.
and procedures will need to access the variables in protected part. how
am i suppose to do that?
eg.
protected x is
    procedure save(...);
    procedure load(...);
private
    x : ...
end protected
task type a is
end a;
type a_access is access a;
task body a is
begin
    yyyy(...) -- from other packages, and in this procedure, it will
access the values in the protected body part.
end a;

I appreciate someone can give me some guidelines. Thank you.

CY.





^ permalink raw reply	[flat|nested] 17+ messages in thread
* Tasking
@ 1998-10-17  0:00 Chang Yang Lim
  1998-10-17  0:00 ` Tasking David C. Hoos, Sr.
  0 siblings, 1 reply; 17+ messages in thread
From: Chang Yang Lim @ 1998-10-17  0:00 UTC (permalink / raw)


I tried to use Tasking in my project recently. It worked fine sometimes.
However, it does give me a trouble, i don' t know why sometimes i got
"Segmentation fault". at first i thought maybe i passed the pointer
wrong, however, later i found it's not my problem. can anyone help me?







^ permalink raw reply	[flat|nested] 17+ messages in thread
* Tasking
@ 1996-06-05  0:00 Tod Trowbridge
  1996-06-05  0:00 ` Tasking Theodore E. Dennison
  1996-06-07  0:00 ` Tasking Mark Fisher
  0 siblings, 2 replies; 17+ messages in thread
From: Tod Trowbridge @ 1996-06-05  0:00 UTC (permalink / raw)




    I just started programming in ada and have a general 
question about tasking.

    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.

           Any help in this matter would be greatly appreciated

                                Thanks




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-12-16  9:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-07  0:00 tasking grave
1998-10-07  0:00 ` an error in tasking grave
1998-10-07  0:00   ` Frank Ecke
1998-10-08  0:00     ` Frank Ecke
1998-10-16  0:00       ` Tucker Taft
1998-10-19  0:00         ` Frank Ecke
1998-10-16  0:00       ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
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
1998-10-27  0:00 Tasking Chang Yang Lim
1998-10-17  0:00 Tasking Chang Yang Lim
1998-10-17  0:00 ` Tasking David C. Hoos, Sr.
1996-06-05  0:00 Tasking Tod Trowbridge
1996-06-05  0:00 ` Tasking Theodore E. Dennison
1996-06-07  0:00 ` Tasking Mark Fisher

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