Skip to main content

Module process

Module process 

Source
Available on crate feature process only.
Expand description

Process utilities.

Functionsยง

exit_thread_safe
Helper for exiting macros.
halt_with_codetracing
Like halt!, but exits with the given code, so that a restart with a specific cause can be told apart from a routine halt.
set_current_thread_name
Sets the OS-level name of the calling thread, visible to tools like top -H, perf, samply, and /proc/<pid>/task/*/comm.