LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-01-2005, 01:00 AM   #1
Reefath
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 ?

Scenario1:
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?

Scenario2:
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....

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

Rep: Reputation: Disabled
Go to http://www.google.com/linux/ and do a search on thread programming.

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 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
Open Source Consulting | Domain Registration