Ada Programming/Attributes/'Identity

Description
X'Identity is an Ada attribute where X is any task. This attribute returns a unique identifying string (of type "Task_ID"). This string is used in some Ada tasking libraries for task identification. It may also be used directly by the user for output purposes, to determine if two tasks are the same task, etc.

Example
My_Task; My_Other_Task; ... My_Task'Identity = My_Other_Task'Identity ;

Wikibook

 * Ada Programming
 * Ada Programming/Attributes

Ada Reference Manual


|Identity