Ada Programming/Attributes/'Caller
Description
editIdentifies 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
editE’Caller return Task_ID