Ada Programming/Attributes/'Caller
Appearance
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]E’Caller return Task_ID