This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: lock in dl-fptr.c is wrong.
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: lock in dl-fptr.c is wrong.
- From: David Mosberger <davidm at hpl dot hp dot com>
- Date: Fri, 19 Oct 2001 18:39:23 -0700
- Cc: David Mosberger <davidm at hpl dot hp dot com>, GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20011019174719.A28695@lucon.org>
- Reply-To: davidm at hpl dot hp dot com
>>>>> 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