comp.lang.ada
 help / color / mirror / Atom feed
* Task identity
@ 1991-05-01 18:02 Dave Williamson
  0 siblings, 0 replies; only message in thread
From: Dave Williamson @ 1991-05-01 18:02 UTC (permalink / raw)


Given the following simplified example:

package a is
    procedure p1;
end a;

package b is
    procedure p1;
end b;

with b;
package body a is
    task t1;
    task body t1 is
    begin
        b.p1;
    end t1;

    procedure p1 is
    begin
       ....
    end p1;
end a;

with a;
package body b is
    procedure p1 is
    begin
        a.p1;
    end p1;
end b;

Is there any means available for me to determine within a.p1 that the
current thread is a.t1?  Thanks in advance.

Dave Williamson
Software Kinetics Ltd.
Ottawa, Canada
williams@crc.sofkin.ca

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1991-05-01 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-05-01 18:02 Task identity Dave Williamson

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