thread_resume_from_rpc()- Check if the state of the thread to be resumed (indicated by
thread_id) isTHREAD_STATE_SUSPENDED. - If yes, set thread’s state to
THREAD_STATE_ACTIVE. - Set the current thread ID (
l->curr_thread) tothread_id. - Call thread_resume() to resume the thread.
- Otherwise, return and do nothing.
thread_resume_from_rpc()c
Loading...