| To: | |
|---|---|
| Subject: | [ts-7000] Re: T3 and T4 timers - What are they? |
| From: | "burnsmicro" <> |
| Date: | Fri, 11 May 2012 00:44:32 -0000 |
> "Linux maintains a system clock with a resolution (in the 2.4 kernel
> supplied with TS-Linux) of 10millisec. Any user space program can use
> standard Unix/Linux timer functions alarm(2), getitimer(2), setitimer(2)
Regrettably, alarm() has a granularity of seconds.
But setitimer looks promising:
int setitimer(int which, const struct itimerval *value,
struct itimerval *ovalue);
Where struct itimerval's contain seconds and microseconds
On countdown, the timer resets and delivers a SIGALRM.
Now my challenge is how to catch and deal with a SIGALRM.
Thanks
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [ts-7000] Re: T3 and T4 timers - What are they?, al |
|---|---|
| Next by Date: | [ts-7000] Re: T3 and T4 timers - What are they?, burnsmicro |
| Previous by Thread: | Re: [ts-7000] Re: T3 and T4 timers - What are they?, Jim Jackson |
| Next by Thread: | [ts-7000] Re: T3 and T4 timers - What are they?, al |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU