Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2015, 02:36 PM   #1
Registered: Jun 2013
Location: California
Distribution: Ubuntu, Fedora
Posts: 75

Rep: Reputation: Disabled
setup periodic kernel timer with kernel API

Hi all,

For kernel timer APIs such as setup_timer() or add_timer(), is there a way to setup the timer so it fires interrupt periodically?
I am able to set up the timer and make it fire one shot of interrupt, after that I need to either use mod_timer() or add_timer() again to set up the next timer expiration event.

Wei Xu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to implement timer kernel ashok4linux Linux - Kernel 1 01-18-2013 05:34 PM
periodic timer callbacks!!!! sandeepvignesh Linux - Newbie 19 06-27-2009 09:57 AM
How to use kernel's crypto API inside the kernel to compute an MD5 hash ? linuxabhinav Linux - Kernel 2 05-28-2008 12:35 PM
Increasing Kernel timer (2.4) john_d13 Slackware 3 06-16-2006 02:00 AM
Kernel Timer koby *BSD 1 07-19-2005 06:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration