Ada Programming/Attributes/'Caller

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description

[edit | edit source]

Identifies the task whose call is now being serviced. Yields a value of the type Task_Id that identifies the task whose call is now being serviced.

Use of this attribute is allowed only inside an accept_statement, or entry_body after the entry_barrier, corresponding to the entry_declaration denoted by E.

Example

[edit | edit source]
ECaller return Task_ID