Revision d79284e0
b/vl.c | ||
---|---|---|
922 | 922 |
sigaction(SIGALRM, &act, NULL); |
923 | 923 |
|
924 | 924 |
itv.it_interval.tv_sec = 0; |
925 |
itv.it_interval.tv_usec = 1000;
|
|
925 |
itv.it_interval.tv_usec = 999; /* for i386 kernel 2.6 to get 1 ms */
|
|
926 | 926 |
itv.it_value.tv_sec = 0; |
927 | 927 |
itv.it_value.tv_usec = 10 * 1000; |
928 | 928 |
setitimer(ITIMER_REAL, &itv, NULL); |
Also available in: Unified diff