linux - How to wake up a user mode sleep process in kernel? -
i want wake user-mode process in kernel . process blocked calling sleep() in user mode . called function wake_up_process() in kernel , process did not wake after wake_up_process() call. not know why . know how wake user-mode sleep process in kernel ? thank .
if process called sleep()
, wake either when time comes, or when gets signal. wake_up_process
cause kernel test if time has come, , go sleep again.
so send signal.
Comments
Post a Comment