This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Help repro PR 1749.
- To: Kaz Kylheku <kaz at ashi dot footprints dot net>
- Subject: Re: Help repro PR 1749.
- From: Roland McGrath <roland at frob dot com>
- Date: Sat, 29 Jul 2000 18:18:52 -0400 (EDT)
- Cc: libc-alpha at sourceware dot cygnus dot com
> Internally, the condition wait function actually thinks that it has been
> removed from the queue and signalled, which is not the case.
You mean it leaves some dangling pointers to the current thread on a queue?
> Perhaps I should have called this an erroneous return rather than a spurious
> wakeup; sorry about the confusing terminology!
It is not the return that is erroneous. It is the dangling state.
The return would be ok if it cleaned up state, so if it is easier to
fix it that way than to make it know when to continue blocking,
that is an ok fix.