Ada Programming/Attributes/'Relative Deadline
Appearance
Description
[edit | edit source]Relative deadline of P.
Denotes a non-aliased component of the protected object P. This component is of type Ada.Real_Time.Time_Span and its value is the relative deadline of P. P'Relative_Deadline denotes a variable if and only if P denotes a variable. A reference to this attribute shall appear only within the body of P.
Example
[edit | edit source]P’Relative_Deadline return Ada.Real_Time.Time_Span