På må , 04/10/2004 klokka 18:24, skreiv Steve Dickson:Sorry buddy.... I'm having one of those days!!!! :-\
Hey Neil,
Hey! This is the client side NLM code... 8-)
Note that you probably also want to move the call toOk...
set_current_state(TASK_INTERRUPTIBLE) inside the loop. In that case you
can also remove the call to set_current_state(TASK_RUNNING) ('cos
schedule_timeout() will do that for you).
Also, why aren't you using the more standard DECLARE_WAITQUEUE(__wait)?I guess I didn't realize that would be a better way to do it... I'll look into to...