|
This function stores in the variables pointed to by budget and period, the execution-time budget and the period respectively associated with the specified server. If any of these pointers is NULL, the corresponding information is not stored.
- Parameters:
-
[in] | server server id |
[out] | budget budget available for the current server instance |
[out] | period period available for the current server instance |
- Return values:
-
0 | if succesful completion |
FSF_ERR_BAD_ARGUMENT | if the value of the server argument is not in range, budget is NULL or period is NULL |
FSF_ERR_NOT_SCHEDULED_CALLING_THREAD | if the calling thread is not scheduled under the FSF |
FSF_ERR_INVALID_SCHEDULER_REPLY | the scheduler is wrong or not running |
FSF_ERR_NOT_CONTRACTED_SERVER | if the server of the calling thread has been cancelled or it is not valid |
|