This module contains API functions to handle SVM process scheduler.
More...
This module contains API functions to handle SVM process scheduler.
◆ svm_process_get_scheduler()
This function returns the name of the scheduler of a process.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the scheduler will be extracted. |
- Note
- If the process uses the default scheduler, a NULL pointer is returned.
- Returns
- The name of the scheduler.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
FAILURE | interruption when the process is not attached to a scheduler. |
◆ svm_process_has_scheduler()
This function checks whether a process is attached to a scheduler.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the scheduler will be extracted. |
- Returns
- TRUE if the process is attached to a scheduler, FALSE otherwise.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |