Which of the following is true of cooperative scheduling?
A.It requires a timer.
B.A process keeps the CPU until it releases the CPU either by terminating or by switching to the waiting state.
C.It incurs a cost associated with access to shared data.
D.A process switches from the running state to the ready state when an interrupt occurs.
正确答案是B