[Bug nptl/14417] EAGAIN handling in pthread_cond_wait make pulseaudio hang

triegel at redhat dot com sourceware-bugzilla@sourceware.org
Tue Sep 18 14:37:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14417

Torvald Riegel <triegel at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |triegel at redhat dot com

--- Comment #7 from Torvald Riegel <triegel at redhat dot com> 2012-09-18 14:37:24 UTC ---
(In reply to comment #6)
> I would hesitate to try fixing this without also looking at and possibly fixing
> bug #12875. The whole sequence number wakeup thing for condition variables is
> fundamentally broken in NPTL and needs to be fixed.

How so?  You seem to see issues that go beyond bug #12875 (which I don't see as
being a bug currently).  If so, please link to them here.

> Basically the issue is that
> the current code is over-engineered to avoid spurious wakeups, but in the
> process it suppresses some non-spurious wakeups...

I'm not aware of any lost wake-ups for non-PI cond vars.  If you have provided
an alternative implementation proposal in the past, could you link to it when
making such comments please?  If you haven't but have a proposal now, please
link to it here or post to glibc-alpha.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list