[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

waking up a single process from the wait queue




 HI,

  How can we wake up only a single process from the wait queue??? we use 
wake_up to wake up the processes from the wait queue.. but wake_up wakes 
up all the processes on the wait queue. 

  it invokes wake_up_common() which wakes up nr exclusive tasks and all 
non exclusive tasks... so how can we make wait queue to have exclusive 
tasks...

 thanks,
raghu

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/