请教给位老大:ulk2中描述信号量获取的__down()函数时,回唤醒另一个等待进程,如果说唤醒另一个进程只是为了设置count和sleepers字段,那and terminates holding the semaphore这句话是什么意思?为什么要中止所持有的信号量?:em14: 原文如下:If the count field is not negative, the function sets sleepers to 0 and exits from the loop. It tries to wake up another process in the semaphore wait queue (but in our sc...
An interrupt handler may alse defer an exception handler. Conversely, an exception handler never defers an interrupt handler. The only exception that can be triggered in Kernel Mode is the "Page fault" one just described.But interrupt handlers never perform operations that could induce page faults and thus, potentially, process switching. 为什么中断处理函数能抢占异常处理函数,而反之则不行? 内核模...