大家好:下面这句话中Multithreading can be of the following two types
•         Cooperative
•         PreemptiveCooperative和Preemptive这两个该怎么翻译,谢谢

解决方案 »

  1.   


    Cooperative 合作式
    Preemptive  抢先式
      

  2.   

    Preemptive 抢占  当系统处于核心态运行时, 允许任务的重新调度Cooperative  协同的
      

  3.   

    是多线程的两种调度方法
    Operating systems schedule threads in one of two ways. Preemptive multithreading is generally considered the superior approach, as it allows the operating system to determine when a context switch should occur. Cooperative multithreading, on the other hand, relies on the threads themselves to relinquish control once they are at a stopping point. This can create problems if a thread is waiting for a resource to become available. The disadvantage to preemptive multithreading is that the system may make a context switch at an inappropriate time, causing priority inversion or other bad effects which may be avoided by cooperative multithreading.