Hi,
I have to handle a periodic event in a C application I'm writing.
Reading some documentation I've learned using alarm() may be dangerous
if mixed with sleep() because some implementation of sleep using
internally the same signal (in my application I'm using also sleep).
What alternative can I use to handle a timer callback (the period is
more tha ten minutes so I don't have realtime issue)?
Re: Handling timer ... I have to handle a periodic event in a C application I'm writing. ... Reading some documentation I've learned using alarm() may be dangerous if mixed with sleep() because some implementation of sleep using internally the same signal. ... (comp.os.linux.development.apps)
Re: Handling timer ... I have to handle a periodic event in a C application I'm writing. ... Reading some documentation I've learned using alarm() may be dangerous if mixed with sleep() because some implementation of sleep using internally the same signal. ... (comp.os.linux.development.apps)
Re: Handling timer ... I have to handle a periodic event in a C application I'm writing. ... Reading some documentation I've learned using alarm() may be dangerous if mixed with sleep() because some implementation of sleep using internally the same signal. ... Setup your main application to handle SIGUSR1, then spawn off a "clock" process that just does ... (comp.os.linux.development.apps)
Handling timer ... I have to handle a periodic event in a C application I'm writing. ... Reading some documentation I've learned using alarm() may be dangerous if mixed with sleep() because some implementation of sleep using internally the same signal. ... (comp.os.linux.development.system)
Re: Handling timer ... Reading some documentation I've learned using alarm() may be dangerous ... if mixed with sleep() because some implementation of sleep using ... What alternative can I use to handle a timer callback (the period is ... (comp.os.linux.development.apps)