#### 8.5.4.15 Pragma Priority

It might be necessary for real-time applications to get control over the priority at which a remote procedure call is executed. By default, the PCS sends the priority of the client to the server which sets the priority of an anonymous task to this value. The pragma Priority allows to decide which priority policy should apply in the distributed application.

    PRIORITY_POLICY_LITERAL ::= Server_Declared
                              | Client_Propagated

    PRAGMA ::=
       pragma Priority ([Policy =>] PRIORITY_POLICY_LITERAL);

- The default policy Client_Propagated consists in propagating the client priority to the server.
- The policy Server_Declared consists in executing the remote procedure call at a priority specific to the partition. This priority can be set using the partition attribute Priority.