> From: Wolfgang Mües <[EMAIL PROTECTED]>
> Date: Wed, 13 Jun 2001 22:20:09 +0200

> > > > timeout is in jiffies, and is the time waited from URB submission to
> > > > getting a -ETIMEOUT if things go wrong. Normally HZ is a good thing to
> > > > put in here.
> > >
> > > May I ask for the definition of "jiffies", because I have found nothing
> > > similar in my physic book regarding the measurement of time....
> >
> > It is a global, volatile variable that counts time in ticks.
> > See /usr/src/linux/arch/i386/kernel/time.c for boring details.
> 
> Please excuse me, but "jiffies" seems to be used as a time unit,
> not as a variable.
> 
> Can you explain "timeout is in jiffies" to a user who don't know
> anything about "jiffies" and "ticks" ?

Wolfgang is trying his best to be difficult, so I am not
replying to his trolling. Although I have a word or two.

For interfaces such as URB, I question the wisdom of timeouts
counted in jiffies. First, arithmetics in jiffies are often
confusing, and prone to underflow/overflow difficulties.
Second, there is a movement afoot to make HZ changeable,
to accomodate some mobile devices that want to hybernate.

-- Pete

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to