Difference for common/time.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.6 2001/04/09 06:59:46 mwedel Exp $";   *    "$Id: time.c,v 1.7 2001/04/18 14:48:09 avogl Exp $";
  */   */
   
 /*  /*
Line 140
 
Line 140
     static struct timeval sleep_time;      static struct timeval sleep_time;
     sleep_time.tv_sec = sleep_sec;      sleep_time.tv_sec = sleep_sec;
     sleep_time.tv_usec = sleep_usec;      sleep_time.tv_usec = sleep_usec;
   
   #ifndef WIN32 /* 'select' doesn't work on Windows, 'Sleep' is used instead */
     select(0, NULL, NULL, NULL, &sleep_time);      select(0, NULL, NULL, NULL, &sleep_time);
   #else
       if (sleep_time.tv_sec) Sleep(sleep_time.tv_sec*1000);
       Sleep((int)(sleep_time.tv_usec/1000.));
   #endif
   }    }
   else    else
     process_utime_long_count++;      process_utime_long_count++;


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:18