Re: setup_timer

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

 





On Wed, Feb 23, 2011 at 9:25 PM, Dave Hylands <dhylands@xxxxxxxxx> wrote:
Hi shafi,

On Wed, Feb 23, 2011 at 8:09 AM, Mohammed Shafi <shafi.kernel@xxxxxxxxx> wrote:
> Hi all,
>           can some please explain what does setup_timer does.
> thanks in advance,

It initializes the timer structure and stores the callback function
which will be called when the timer expires.

Dave thanks a lot for your reply and your simple answer cleared my doubts completely!
I was looking at a protocol stack code where this function is used in few places and now I am able to understand it.
thanks once again!

Dave Hylands

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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