943,881 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 4461
  • C RSS
Feb 17th, 2007
0

Posix Timers

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mailsteam is offline Offline
8 posts
since Jan 2007
Feb 19th, 2007
0

Re: Posix Timers

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.
Reputation Points: 62
Solved Threads: 10
Junior Poster
jim mcnamara is offline Offline
179 posts
since May 2004
Mar 10th, 2007
0

Re: Posix Timers

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mailsteam is offline Offline
8 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: case study c lang
Next Thread in C Forum Timeline: Increment a number in an array





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC