Hi.
Following LDD3, I am dealing with wait queues, on a 2.6.10.
My loop is like:
while(enough()){
prepare_to_wait(queue_head, queue_entry, TASK_INTERRUPTIBLE);
atomic_set(flag, 0);
if (!atomic_read(flag, 0))
schedule();
finish_wait(queue_head, queue_entry);
}
My
On Mon, Mar 23, 2015 at 05:31:51AM -0700, Milton Krutt wrote:
Hi.
Following LDD3, I am dealing with wait queues, on a 2.6.10.
Please use a modern kernel, 2.6.10 is _very_ old and no one can do
anything about it, and those that could, have long forgotten what was in
it.
good luck,
greg k-h