El Thu, Apr 02, 2009 at 01:13:41PM +0530 nidhi mittal ha dit:
> i have set up a timer to execute after i sec using struct timer_list
> .....
> and
> and it executes after 1 sec okay
> but that's all only one time...
>
> i wanted to know
> does timer itself mean to execute only one time in future OR
> periodically after every one sec in future
if you want a periodic timer you need to reschedule it from the timer
function. remember that you define timer->expires as an absolute
jiffies value, how is the kernel expected to know the period?
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
We can't solve problems by using the same kind
of thinking we used when we created them
(Albert Einstein)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ