From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7e53a790494d0d3d X-Google-Attributes: gid103376,public From: Dale Stanbrough Subject: Re: Equivalent to C++'s 'this' for tasks? Date: 1997/05/22 Message-ID: <5m2elp$ii4$1@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 243224138 Distribution: world References: <5ltfe8$edr$1@goanna.cs.rmit.edu.au> X-XXMessage-ID: Organization: Royal Melbourne Institute of Technology Newsgroups: comp.lang.ada Date: 1997-05-22T00:00:00+00:00 List-Id: 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