From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Task_ID through different executions
Date: 1996/06/18
Date: 1996-06-18T00:00:00+00:00 [thread overview]
Message-ID: <Dt7J4w.B0q.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: 31C69C71.794B@elet.polimi.it
Sergio Silva (silva@elet.polimi.it) wrote:
: Hello,
: I have been looking at the LRM for the following info but I can't find an
: exact answer. Does anybody know it?
: I need to find out if Ada.Task_Identification.Current_Task and
: Entry'Caller return the same value in different executions?
There is no guarantee that these values will be the same from
one execution to the next.
: I am trying to use them to monitor rendezvous sequences and eventually
: reproduce such sequences so I need them to return the same value.
You might be better off defining your own task attribute (see RM95 C.7.2),
and using the Task_ID to fetch the attribute. You could presumably
assign task attributes in a repeatable manner.
: In the case it is implementation dependent: I am using gnat 3.0.3 on
: SUN/OS 4.1.4 and on Solaris 2.5
: Sergio Silva-Barradas
: Dip.to di Elettronica e Informazione
: Politecnico di Milano Ph: +(39)(2) 2399 3638
: P.zza Leonardo da Vinci 32 Fax: +(39)(2) 2399 3411
: I20133 Milan, Italy e-mail: silva@elet.polimi.it
-Tucker Taft stt@inmet.com http://www.inmet.com/~stt/
Intermetrics, Inc. Cambridge, MA USA
prev parent reply other threads:[~1996-06-18 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-18 0:00 Task_ID through different executions Sergio Silva
1996-06-18 0:00 ` Tucker Taft [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox