comp.lang.ada
 help / color / mirror / Atom feed
From: Chang Yang Lim <chang.lim@student.adelaide.edu.au>
Subject: Tasking
Date: 1998/10/27
Date: 1998-10-27T00:00:00+00:00	[thread overview]
Message-ID: <3635379B.6ADFCFCB@student.adelaide.edu.au> (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.





             reply	other threads:[~1998-10-27  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-27  0:00 Chang Yang Lim [this message]
  -- 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-17  0:00 Tasking Chang Yang Lim
1998-10-17  0:00 ` Tasking David C. Hoos, Sr.
1998-10-07  0:00 tasking grave
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
replies disabled

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