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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -