Branch: Tag:

2011-01-24

2011-01-24 17:55:45 by Martin Stjernholm <mast@lysator.liu.se>

Update current_time returned by time(1) after sleeping.

4629:    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)