![]() |
hpx::get_error_process_id — Return the (operating system) process id of the locality where the exception was thrown.
// In header: <hpx/exception.hpp> boost::int64_t get_error_process_id(hpx::exception const & e);
The function hpx::get_error_process_id can be used to extract the diagnostic information element representing the process id as stored in the given exception instance.
See Also:
hpx::diagnostic_information(), hpx::get_error_host_name(), hpx::get_error_function_name(), hpx::get_error_file_name(), hpx::get_error_line_number(), hpx::get_error_os_thread(), hpx::get_error_thread_id(), hpx::get_error_thread_description(), hpx::get_error(), hpx::get_error_backtrace(), hpx::get_error_env(), hpx::get_error_what(), hpx::get_error_config()
Parameters: |
|
||
Returns: |
The process id of the OS-process which threw the exception If the exception instance does not hold this information, the function will return 0. |
||
Throws: |
nothing |