Re: Timer event

2000-05-18 Thread Reed Lai
= itv.it_value.tv_usec; setitimer( ITIMER_REAL, &itv, 0 ); On Fri, May 19, 2000 at 10:14:09AM +0800, Reed Lai wrote: > I just do a timer event as following: > > to initial a time beat and handler > == > > #include > #include > #inclu

Re: Timer event

2000-05-18 Thread Reed Lai
I just do a timer event as following: to initial a time beat and handler == #include #include #include #include enum { BEAT, LAST_SIGNAL }; struct itimerval itv, oitv; guint time_signals[LAST_SIGNAL]; void beat_close() { setitimer( ITIMER_REAL