This module contains API functions to handle SVM process status.
More...
This module contains API functions to handle SVM process status.
◆ svm_process_get_coredump()
This function returns a string representation of the process.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the status will be extracted. |
The process does need to be locked by us.
- Returns
- A SVM_String containing a representation of the process.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_process_get_interruption()
This function retrieves the interruption of an interrupted process.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the interruption will be extracted. |
The process does need to be locked by us.
- Returns
- If the process is interrupted, the interruption of the process, a NULL pointer otherwise.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_process_get_name()
This function retrieves the name of a process.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the status will be extracted. |
- Returns
- The process name.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_process_get_state()
This function retrieves the status of a process.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the status will be extracted. |
- Returns
- The process status.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_process_print()
This function returns a minimal string representation of the process state.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | process | The process from which the status will be extracted. |
The process does need to be locked by us.
- Returns
- A SVM_String containing a minimal representation of the process state.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |