When the thread that has the lock leaves the critical section, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.
当拥有锁的线程离开临界区的时候,挂起的线程需要被重新唤醒,然后重新被调用,并交换上下文,回到CPU调度中。
Each thread maintains exception handlers, a scheduling priority, and a set of structures the system USES to save the thread context until it is scheduled.
每个线程都维护异常处理程序、调度优先级和一组系统用于在调度该线程前保存线程上下文的结构。
In addition, each thread maintains exception handlers, a scheduling priority, and a set of structures in which the system saves the thread context while the thread is waiting to be scheduled.
另外,每个线程都维护异常处理程序、安排优先级和一组结构,线程等待安排时系统在这些结构中保存线程上下文。
In addition, each thread maintains exception handlers, a scheduling priority, and a set of structures in which the system saves the thread context while the thread is waiting to be scheduled.
另外,每个线程都维护异常处理程序、安排优先级和一组结构,线程等待安排时系统在这些结构中保存线程上下文。
应用推荐