Ada95 Reference Manual - 9.1 Task Units and Task Objects Go to the first , previous , next , last section, table of contents . Within a task unit, the name of a discriminant of the task type denotes the corresponding discriminant of the current instance of the unit. A task type is a limited type, See section 7.5 Limited Types , and hence has neither an assignment operation nor predefined equality operators. If an application needs to store and exchange task identities, it can do so by defining an access type designating the corresponding task objects and by using access values for identification purposes.
Assignment is available for such an access type as for any access type.
Alternatively, if the implementation supports the Systems Programming Annex, the Identity attribute can be used for task identification, See section C.7 Task Identification and Attributes .