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: Help repro PR 1749.


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.


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