Mail Archives: djgpp/1994/07/13/05:15:09
Does anybody know if djgpp has a Unix struct equivalent to itimerval?
I'm trying to time intervals in millisecs on the system. Basically, I'm writting a software for human reaction time testing. The time between successive stimuli should be a variable in milliseconds. I managed to solve the problem on Unix by using setitimer() to fill in struct itimerval (in sys/time.h). But when I transported the code to a PC I get djgpp error about itimerval.
Is there such a struct and if not can anybody be kind enough to moot a possible suggestion of alternative solutions?
Thankyou in advance.
Peyman
- Raw text -