On Wed, Jan 20, 2016 at 06:57:27PM +0530, Anupam Kapoor wrote:
>
> > [2016-01-20T13:55:54+0530]: "Nicholas Mc Guire" (Nicholas):
> ,[ Nicholas ]
> | that would still have the same limitation with resepct to time granuarlity
> | and as Documentation/timers/
> `
> ah yes, that's true.
>
On Wed, Jan 20, 2016 at 11:50:24AM +0530, Anupam Kapoor wrote:
>
> > [2016-01-20T01:21:18+0530]: "Daniel." (Daniel):
> ,[ Daniel ]
> | I have some code that convert an timeout comming from userspace (in
> | ms) to jiffies prior passing to wait_event_interrupitible_timeout().
> | The code
> [2016-01-20T13:55:54+0530]: "Nicholas Mc Guire" (Nicholas):
,[ Nicholas ]
| that would still have the same limitation with resepct to time granuarlity
| and as Documentation/timers/
`
ah yes, that's true.
,[ Nicholas ]
| if you really need very short delays then you will need
Hi everybody,
I have some code that convert an timeout comming from userspace (in
ms) to jiffies prior passing to wait_event_interrupitible_timeout().
The code looks like this:
unsigned long tout = user.timeout * HZ / 1000; /* convert from ms to jiffie */
int status =
> [2016-01-20T01:21:18+0530]: "Daniel." (Daniel):
,[ Daniel ]
| I have some code that convert an timeout comming from userspace (in
| ms) to jiffies prior passing to wait_event_interrupitible_timeout().
| The code looks like this:
|
| unsigned long tout = user.timeout * HZ / 1000; /*