LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-24-2015, 01:36 PM   #1
david_8274
Member
 
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.

Thanks,
Wei Xu
 
  


Reply


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 04:34 PM
periodic timer callbacks!!!! sandeepvignesh Linux - Newbie 19 06-27-2009 08:57 AM
How to use kernel's crypto API inside the kernel to compute an MD5 hash ? linuxabhinav Linux - Kernel 2 05-28-2008 11:35 AM
Increasing Kernel timer (2.4) john_d13 Slackware 3 06-16-2006 01:00 AM
Kernel Timer koby *BSD 1 07-19-2005 05:37 AM


All times are GMT -5. The time now is 07:25 AM.

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