[mythtv-commits] Ticket #5516: missing lock for readblocksize member variable

MythTV mythtv at cvs.mythtv.org
Mon Jul 7 19:30:37 UTC 2008


#5516: missing lock for readblocksize member variable
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr    
     Type:  defect                           |      Status:  new    
 Priority:  trivial                          |   Milestone:  unknown
Component:  mythtv                           |     Version:  head   
 Severity:  low                              |     Mlocked:  0      
---------------------------------------------+------------------------------
 Turns out the readblocksize member variable in RingBuffer requires
 locking.

 I have heard before that g++ is atomic about single variable assignments.
 But I don't know if that applies in this case.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5516>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list