lkml.org 
[lkml]   [2001]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Problem with schedule_timeout..
Date
From
> 	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
> argument.

Make sure you have the task set to be in interruptible or uninterrutible
sleep before you do the schedule_timeout

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:04    [W:0.045 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site