[mythtv-commits] Ticket #9959: [PATCH] ringbuffer: Fix a deadlock in readahead

MythTV noreply at mythtv.org
Mon Aug 1 20:48:03 UTC 2011


#9959: [PATCH] ringbuffer: Fix a deadlock in readahead
-------------------------------------------------+-------------------------
 Reporter:  Lawrence Rust <lvr@…>                |          Owner:  danielk
     Type:  Patch - Bug Fix                      |         Status:  closed
 Priority:  minor                                |      Milestone:  0.25
Component:  MythTV - General                     |        Version:  Trunk
 Severity:  medium                               |  Head
 Keywords:  ringbuffer deadlock                  |     Resolution:  fixed
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Github):

 * status:  accepted => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


Comment:

 Fixes #9959. This fixes a race deadlock in
 FileRingBuffer::safe_read(RemoteFile *rf... and also makes sure we don't
 update rbwpos with read_return if rbspos has changed since we read in the
 data.

 The first problem was discovered & fixed by Lawrence Rust. I discovered &
 fixed the other related problem when reviewing his patch.
  Branch:    master
  Changeset: 3733544bafeeb7f20bed1334e7f76b4581790429

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9959#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list