Posix Timers

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2007
Posts: 8
Reputation: mailsteam is an unknown quantity at this point 
Solved Threads: 0
mailsteam mailsteam is offline Offline
Newbie Poster

Posix Timers

 
0
  #1
Feb 17th, 2007
1.I'm Using Posix Timers. I Would Like To Kno Whether It Is Possible To Fire Two Timers With Same Signum. The Signal Event Function Is Different.

2. Is there any way to send an argument to the signal event function other than signum.

the functions i used for timer are
timer_create()- for creating the timer
sigaction() - signal event function and signo is given here
settimer() -for setting the timer.
PLEASE HELP ME
THANKS
Last edited by mailsteam; Feb 17th, 2007 at 5:07 am.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 178
Reputation: jim mcnamara is on a distinguished road 
Solved Threads: 10
jim mcnamara jim mcnamara is offline Offline
Junior Poster

Re: Posix Timers

 
0
  #2
Feb 19th, 2007
I should have read this earlier.

The answer is no. Unless you are using the Realtime Signal Extension - ie., "realtime signals".

The real question is "Why are you doing this?"
It's not like there aren't USR signals or realtime signals (lots of them) you can't use. No offense, but you're just creating problems for yourself.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 8
Reputation: mailsteam is an unknown quantity at this point 
Solved Threads: 0
mailsteam mailsteam is offline Offline
Newbie Poster

Re: Posix Timers

 
0
  #3
Mar 10th, 2007
Originally Posted by jim mcnamara View Post
I should have read this earlier.

The answer is no. Unless you are using the Realtime Signal Extension - ie., "realtime signals".

The real question is "Why are you doing this?"
It's not like there aren't USR signals or realtime signals (lots of them) you can't use. No offense, but you're just creating problems for yourself.
Hi Jim,
Thanks for u'r reply. But i want some more clarifications on Realtime signals. I'm using real time signals only..but the problem is that i am able to use only 30 signal ie signo from 3 to 32. Actually i want to use more than that, Is there any way to do that? Can you pls elobrate on your answer.
You can also e-mail me at << email id snipped >>
Thanks in advance.
Last edited by ~s.o.s~; Mar 10th, 2007 at 12:10 pm. Reason: Keep in on site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC