-
Vikram Narayanan authored
Instead of using naive schedule() that hogs the cpu, use a wait queue and wake up the thread when someone pulls the plug. Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
20cd4151
Instead of using naive schedule() that hogs the cpu, use a wait queue and wake
up the thread when someone pulls the plug.
Signed-off-by: Vikram Narayanan <vikram186@gmail.com>