Ada Programming/Attributes/'Relative Deadline

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

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]
PRelative_Deadline return Ada.Real_Time.Time_Span