pub fn sys_thread_change_state(
target: ObjID,
new_state: ExecutionState,
) -> Result<ExecutionState, TwzError>
Expand description
Change the thread’s state. If successful, returns the previous state.
pub fn sys_thread_change_state(
target: ObjID,
new_state: ExecutionState,
) -> Result<ExecutionState, TwzError>
Change the thread’s state. If successful, returns the previous state.