This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

linuxthreads/ptclock_settime.c



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]