Re: timeout = 1 millisecond for wait_event_timeout

2007-03-05 Thread Nish Aravamudan
On 3/5/07, Mockern <[EMAIL PROTECTED]> wrote: Hi, I have a question. How can I make timeout = 1 millisecond for wait_event_timeout function? Something like (HZ/1000)*x? You mean in a HZ-independent way? Use msecs_to_jiffies(). Note, that if HZ==1000, you can do wait_event-( , ,0); a

timeout = 1 millisecond for wait_event_timeout

2007-03-05 Thread Mockern
Hi, I have a question. How can I make timeout = 1 millisecond for wait_event_timeout function? Something like (HZ/1000)*x? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.