[mythtv-commits] Ticket #8812: RingBuffer has a number of thread safety issues
MythTV
mythtv at cvs.mythtv.org
Sun Aug 22 20:39:57 UTC 2010
#8812: RingBuffer has a number of thread safety issues
------------------------------+---------------------------------------------
Reporter: danielk | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 0.24
Component: MythTV - General | Version: Trunk Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+---------------------------------------------
Comment (by danielk):
This patch reduces the number of instance locks to two and protects most
of the variables with the rwlock.
The locking hasn't been checked completely yet nor run tested. There may
also be lock contention problems. Finally, the main read ahead loop needs
to have it's locking simplified, but it should at least be correct now.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8812#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list