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 04-01-2005, 01:00 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Threads & Timers

Hi im new to Linux .We are currently working in a RealTime Environment.
My query is , is there any way we can have two SIGALRM signal handlers ?

I want one function to be called once in 5ms & another function to be called once in 1 sec .Can i achieve this using SIGALRM?

In Windows it is possible to create threads that will be executed at regular intervals.Is it possible to achieve the same in Linux & if so how?

Kindly reply to both the Questions....

Old 04-01-2005, 07:44 PM   #2
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Go to and do a search on thread programming.

BTW, your question is best suited for the Programming forum.


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
Java threads listed using kill -3 does not contain all threads found using ps -auxww coneheed Programming 2 11-14-2005 08:57 AM
about timers eshwar_ind Programming 1 12-27-2004 09:23 AM
C - Linux - Timers - How? drigz Programming 6 08-30-2004 02:36 PM
Java Threads vs Native Threads rjmendez Programming 0 08-16-2004 05:58 AM
Help with Linux timers samble Programming 8 02-07-2004 10:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 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