There are lots of timer function which executes periodically below is the link:
http://repository.upenn.edu/cgi/viewcontent.cgi?article=1750&context=cis_reports
On Thu, Apr 2, 2009 at 2:12 PM, nidhi mittal <nidhimittal19@xxxxxxxxx> wrote:
yes i solved it
i timer function i set it again for another 1 sec and it works fine ..
thanksThanks & RegardsOn Thu, Apr 2, 2009 at 1:34 PM, Matthias Kaehlcke <matthias@xxxxxxxxxxxx> wrote:
El Thu, Apr 02, 2009 at 01:13:41PM +0530 nidhi mittal ha dit:
if you want a periodic timer you need to reschedule it from the timer
> 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
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 `-
--
Nidhi