Thread (1 message) 1 message, 1 author, 2011-08-08

Exact scenario to use __wait_on_bit() ?

From: Indraneel Mukherjee <hidden>
Date: 2011-08-08 05:37:21

I have a queue where processes queue up I/O. Driver must pick any one
I/O request from the queue(based on some criteria), do the I/O and
then wake up corresponding process.

Problem: How to selectively wake up a particular process from the
middle of the Wait Queue? Instead, can I use __wait_on_bit() for this
scenario?

TIA,
Indro
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help