Hi, You can use wake_up_process(&task1) to wake up a single process from the wait queue. Just check out whether this function is exported or not in your kernel. It is exported in kernel 2.4.18. Regards, Anj ----- Original Message ----- From: "Raghu R. Arur" <rra2002@cs.columbia.edu> To: <kernelnewbies@nl.linux.org> Sent: Monday, December 02, 2002 4:35 AM Subject: 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/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/