I haven't been following this thread, so I may have misunderstood
everything.  That said...

> > Shouldn't "msecs" be "unsigned"?  and then something like this

If msecs is the amount of time you are going to delay for, it maybe
better to leave it signed.

> Right. A negative delay would have interesting implications.

If the delay is computed, something like (I hope you get the idea)

        msecs = (start_jiffies + HZ/100) - jiffies,

then it is possible and legitimate to get a negative number, which
should mean: don't delay at all.  However if msecs is unsigned,
then you will end up delaying forever.

Ciao,

Duncan.


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to