set_current_task_info

Function set_current_task_info 

Source
pub fn set_current_task_info(
    command: TaskCommand,
    leader_command: TaskCommand,
    pid: pid_t,
    tid: tid_t,
)
Expand description

Set the context for log messages from this thread. Should only be called when a thread has been created to execute a user-level task, and should only be called once at the start of that thread’s execution.