/[qemu]/qemu/vl.c
ViewVC logotype

Diff of /qemu/vl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.117 by bellard, Sat Jan 15 21:50:11 2005 UTC revision 1.118 by bellard, Wed Jan 26 21:56:26 2005 UTC
# Line 922  static void init_timers(void) Line 922  static void init_timers(void)
922          sigaction(SIGALRM, &act, NULL);          sigaction(SIGALRM, &act, NULL);
923    
924          itv.it_interval.tv_sec = 0;          itv.it_interval.tv_sec = 0;
925          itv.it_interval.tv_usec = 1000;          itv.it_interval.tv_usec = 999; /* for i386 kernel 2.6 to get 1 ms */
926          itv.it_value.tv_sec = 0;          itv.it_value.tv_sec = 0;
927          itv.it_value.tv_usec = 10 * 1000;          itv.it_value.tv_usec = 10 * 1000;
928          setitimer(ITIMER_REAL, &itv, NULL);          setitimer(ITIMER_REAL, &itv, NULL);

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.118

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26