Re: Confusion with apparently unused variable

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

 



Partha Pal wrote:
In timer.c , in the run_timer_list function, there are
two variables declared : run_timer_list_running and
queued. I am confused as to how these variables are
used ?

APMU run_timer_list_running is a global list_head which is used by internal_add_timer() to see if run_timer_list() is invoking the callback routines from the timer list. While this is being done no new timers can be added.

though in later kernels (2.5.56) things seem to be different.

Abhishek

__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/






-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/



[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