[mythtv-commits] Ticket #6305: Incorrect QWaitCondition & mutex usage in multiple places

MythTV mythtv at cvs.mythtv.org
Wed Mar 11 12:45:10 UTC 2009


#6305: Incorrect QWaitCondition & mutex usage in multiple places
---------------------------------------+------------------------------------
 Reporter:  tomimo at ncircle.nullnet.fi  |        Owner:  ijr    
     Type:  defect                     |       Status:  new    
 Priority:  minor                      |    Milestone:  unknown
Component:  MythTV - General           |      Version:  head   
 Severity:  medium                     |   Resolution:         
  Mlocked:  0                          |  
---------------------------------------+------------------------------------

Comment(by tomimo at ncircle.nullnet.fi):

 Compile the attached qttest.cpp with the following command:

 g++ -Wall -g -I/usr/include/qt4 -I/usr/include/qt4/QtCore qttest.cpp -o
 test -lQtCore

 As the example code doesn't use any additional predicates either, it's
 very easy to see that a deadlock will occur if the consumer thread should
 act on every single wakeup-signal and not just hope that there will be
 another one soon ...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6305#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list