This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Help repro PR 1749.
- To: Roland McGrath <roland at frob dot com>
- Subject: Re: Help repro PR 1749.
- From: Kaz Kylheku <kaz at ashi dot footprints dot net>
- Date: Sat, 29 Jul 2000 15:10:33 -0700 (PDT)
- cc: libc-alpha at sourceware dot cygnus dot com
On Sat, 29 Jul 2000, Roland McGrath wrote:
> Date: Sat, 29 Jul 2000 18:02:31 -0400 (EDT)
> From: Roland McGrath <roland@frob.com>
> To: Kaz Kylheku <kaz@ashi.footprints.net>
> Cc: libc-alpha@sourceware.cygnus.com
> Subject: Re: Help repro PR 1749.
>
> 1003.1-1996 says that spurious wakeups may happen, regardless of the details.
> It is a performance problem to have spurious wakeups come up very often,
> but beyond that why worry about it?
Internally, the condition wait function actually thinks that it has been
removed from the queue and signalled, which is not the case.
Perhaps I should have called this an erroneous return rather than a spurious
wakeup; sorry about the confusing terminology!
No such returns are the consequence of any deliberate logic within the library.