[mythtv-commits] Ticket #10870: Race condition between StreamHandler::RemoveListener and StreamHandler::AddListener
MythTV
noreply at mythtv.org
Tue Jul 24 16:14:51 UTC 2012
#10870: Race condition between StreamHandler::RemoveListener and
StreamHandler::AddListener
----------------------------------------+----------------------------
Reporter: roger@… | Owner: danielk
Type: Bug Report - Hang/Deadlock | Status: closed
Priority: major | Milestone: 0.26
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution: fixed
Keywords: AddListener RemoveListener | Ticket locked: 0
----------------------------------------+----------------------------
Changes (by Daniel Thor Kristjansson <dkristjansson@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:f612576017d1cdd0d2f815dce162cf0fd5310ab0/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="f612576017d1cdd0d2f815dce162cf0fd5310ab0"
Fixes #10870. Fix Start/Stop race condition in StreamHandler.
Take two... The locking order documented in streamhandler.h wasn't being
adhered to
in the DVBStreamHandler. The actual locking order is now documented and a
new lock
has been added for AddListener/RemoveListener as per the suggested code
from Roger
James.
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10870#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list