Does UNIX/IRIX use SIGALRM
JORDAN at gmr.COM
JORDAN at gmr.COM
Tue Aug 21 03:32:00 AEST 1990
Fellow netters:
I was using the setitimer(ITIMER_REAL, &itime, &oitime) command to
signal the interrupt SIGALRM.
Alarming results...
I set itime.it_value.tv_usec = 30000 (or 30 msec); result, 33 hz (okay)
I set itime.it_value.tv_usec = 20000 ; result, 33 hz (WHOOPS!)
should be 50 hz.
I ran this with graphics, but I jumped around all the graphics routines in
the loop.
The Question...
Is something else out there setting the SIGALRM such as UNIX or IRIX OR
swapinterval()?
Meanwhile...
I have hacked a fix using times() where I simply check the time at the
end of the loop.
ted p mugabi-jordan
gm systems engr ctr
1151 crooks road
troy, michigan 48084
313 280 6766
More information about the Comp.sys.sgi
mailing list