thread_resume_from_rpc()c
| 2025-1-4
本文字數 40閱讀時長 1 分鐘
  • thread_resume_from_rpc()
    • Check if the state of the thread to be resumed (indicated by thread_id) is THREAD_STATE_SUSPENDED.
      • If yes, set thread’s state to THREAD_STATE_ACTIVE.
        • Set the current thread ID (l->curr_thread) to thread_id.
        • Call thread_resume() to resume the thread.
      • Otherwise, return and do nothing.
Loading...
目錄