LinuxQuestions.org
Visit Jeremy's Blog.
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, 02: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, 08: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


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 09:57 AM
about timers eshwar_ind Programming 1 12-27-2004 10:23 AM
C - Linux - Timers - How? drigz Programming 6 08-30-2004 03:36 PM
Java Threads vs Native Threads rjmendez Programming 0 08-16-2004 06:58 AM
Help with Linux timers samble Programming 8 02-07-2004 11:54 PM


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