comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@goanna.cs.rmit.EDU.AU>
Subject: Re: Equivalent to C++'s 'this' for tasks?
Date: 1997/05/22
Date: 1997-05-22T00:00:00+00:00	[thread overview]
Message-ID: <5m2elp$ii4$1@goanna.cs.rmit.edu.au> (raw)
In-Reply-To: 5ltfe8$edr$1@goanna.cs.rmit.edu.au


Robert I. Eachus writes:

"   See C.7.1, package Ada.Task_Identification.  If the Ada compiler
 you are using doesn't provide this package (it is in the Systems
 Programming Annex), then there are other messier solutions.
 
    However, since this package isn't all that hard to implement, I
 suspect that even with an Ada 83 compiler the easiest solution is to
 build it yourself.  (You will probably have to look at some
 disassembled code to find the right run-time calls if the compiler
 implementor doesn't provide that documenation.)"


No, this won't do at all. There is no way to make entry calls from a
task id, so how could the objects that are passed this id query the
state of the task?

I would like something that doesn't require delving into stuff that
the rationale claims is mainly used for building scheduling systems.


Dale




  reply	other threads:[~1997-05-22  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-21  0:00 Equivalent to C++'s 'this' for tasks? Dale Stanbrough
1997-05-22  0:00 ` Dale Stanbrough [this message]
1997-05-23  0:00   ` Robert A Duff
1997-05-22  0:00 ` Robert I. Eachus
replies disabled

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