From: Dale Stanbrough <dale@goanna.cs.rmit.EDU.AU>
Subject: Equivalent to C++'s 'this' for tasks?
Date: 1997/05/21
Date: 1997-05-21T00:00:00+00:00 [thread overview]
Message-ID: <5ltfe8$edr$1@goanna.cs.rmit.edu.au> (raw)
If I wanted to create a task...
task type a;
task type a_ptr is access all task;
task type a;
would it be possible in the body of a to construct/obtain
a pointer to the task?
Something like...
task body a is
me : a_ptr;
begin
me := ???'{Unchecked_}Access;
end;
You could then pass this information around and let other
parts of the program query this object as to its state, or
would I have to allocate the object dynamically and hand it
the access value as part of an initialisation entry?
Dale
next reply other threads:[~1997-05-21 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-21 0:00 Dale Stanbrough [this message]
1997-05-22 0:00 ` Equivalent to C++'s 'this' for tasks? Dale Stanbrough
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