[mythtv-commits] Ticket #9927: [HANG] DeviceReadBuffer leaks threads on error untill backend hangs
MythTV
noreply at mythtv.org
Tue Jul 19 01:00:37 UTC 2011
#9927: [HANG] DeviceReadBuffer leaks threads on error untill backend hangs
-------------------------------------------------+-------------------------
Reporter: Tony Lill <ajlill@…> | Owner: danielk
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: 0.24-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
If an error causes the DeviceReadBuffer thread to exit on it's own, the
Stop function doesn't reap the thread, and the backend eventually runs out
and locks up. The attached patch uses the thread variable itself to
determine if a thead_join needs to be done, rather than the running
variable, which seems to have slightly different semantics.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9927>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list