From: Dan K. <da...@ke...> - 2003-04-29 15:38:09
|
Andreas Jaeger wrote: > > The testcase was non functional and non-portable: > - Variables changed in signal handlers should use volatile > sig_atomic_t >... > > -int wakeup = 0; > +volatile sig_atomic_t wakeup = 0; Geez. In my own code, I've been remembering the volatile but forgetting the sig_atomic_t. Thanks for reminding us all. - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |