Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ada Programming/Attributes/'Identity

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Attributes 'Identity __TOC__ 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 task My_Task; task My_Other_Task; ... if My_Task'Identity = My_Other_Task'Identity then Do something end if; See also Wikibook Ada Programming Ada Programming/Attributes Ada Reference Manual 13 3 Operational and Representation Attributes K Language-Defined Attributes Identity