Re: Problem with schedule_timeout..

2001-02-08 Thread Avinash vyas
Hi Yes the problem was what Sir Alan Cox told, when i called my device driver poll function after making the TASK_INTERRUPTIBLE, it made the process state again to RUNNING (In a rpc_call() function). Thanx #

Re: Problem with schedule_timeout..

2001-02-08 Thread Alan Cox
> I am a relatively newb in the kenel programming. I am using the > function "schedule_timeout" for sleeping for some time. But in some cases > the function returns after the specified timeout but in some instance it > returns immediately, without decrementing the timeout value passed as the

Problem with schedule_timeout..

2001-02-08 Thread Avinash vyas
Hi I am a relatively newb in the kenel programming. I am using the function "schedule_timeout" for sleeping for some time. But in some cases the function returns after the specified timeout but in some instance it returns immediately, without decrementing the timeout value passed as the ar