Re: timer function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks ..i also realized it now.
but is thr any other timer interrupt sort of
which by itself executes lets say function x after every 1 second

Nidhi





On Thu, Apr 2, 2009 at 1:25 PM, Belisko Marek <marek.belisko@xxxxxxxxx> wrote:
Hi,

On Thu, Apr 2, 2009 at 9:43 AM, nidhi mittal <nidhimittal19@xxxxxxxxx> wrote:
>
> 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
No you need to start timer again. It's expired just once.
>
>
>
>
>
> --
> Thanks & Regards
> Nidhi
>

good luck,

Marek

--
as simple as primitive as possible
----------------------------------------------
Marek Beliško - open-nandra
Ruská Nová Ves 219
08005 Prešov
Slovakia
http://open-nandra.com



--
Thanks & Regards
Nidhi

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux