[Bug 156800] New: Protect against spurious wakeups

Markus Elfring Markus.Elfring at web.de
Sun Jan 27 18:36:12 GMT 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=156800         
           Summary: Protect against spurious wakeups
           Product: kdemultimedia
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-multimedia kde org
        ReportedBy: Markus.Elfring web de


Version:            (using KDE 4.0.0)

I have seen that no loop is used around the call of the function "pthread_cond_wait" in the function "cdda_fct_play".
http://websvn.kde.org/trunk/KDE/kdemultimedia/libkcompactdisc/wmlib/cdda.c?revision=756952&view=markup

Would you like to reuse anything from my message on the topic "spurious wakeup"?
http://groups.google.de/group/comp.programming.threads/msg/bb8299804652fdd7

I have got doubts about your handling of condition variables.
http://en.wikipedia.org/wiki/Monitor_%28synchronization%29#Condition_variables



More information about the kde-multimedia mailing list