linuxthreads/ptclock_settime.c

Andreas Jaeger aj@suse.de
Mon Apr 23 12:48:00 GMT 2001


Uli,

I think you miss an else for the case that !HP_TIMING_AVAIL in
ptclock_settime and gettime, the current situation looks broken:

#if HP_TIMING_AVAIL
void
__pthread_clock_settime (hp_timing_t offset)
{
  pthread_descr self = thread_self ();

  /* Compute the offset since the start time of the process.  */
  THREAD_SETMEM (self, p_cpuclock_offset, offset);
}
#endif

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list