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


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

Re: lock in dl-fptr.c is wrong.


>>>>> On Fri, 19 Oct 2001 17:47:19 -0700, "H . J . Lu" <hjl@lucon.org> said:

  HJ> lock in dl-fptr.c sleeps for 1*1000*1000 usecs. But for the
  HJ> realtime process, you need to sleep for more than 2*1000*1000
  HJ> usecs to in order to relinquish the CPU.

Assuming you meant nsec instead of usec:

	No, we don't do the brain-damaged nanosleep() special case on
	ia64, so this is not a problem.

(Check linux/kernel/timer.c:sys_nanosleep() and look for the
 !defined(__ia64__).)

	--david


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