Branch: Tag:

2011-01-26

2011-01-26 18:04:00 by Martin Stjernholm <mast@lysator.liu.se>

Update current_time returned by time(1) after sleeping.

4506:    if(left>0.0)    sysleep(left);    THREADS_DISALLOW(); -  if(do_abort_on_signal) +  if(do_abort_on_signal) { +  GETTIMEOFDAY (&current_time);    return; -  +  }    FIX_LEFT();    if(left<=0.0)    break;    check_threads_etc();    } -  +  GETTIMEOFDAY (&current_time);    }       if (do_microsleep)