[mythtv-commits] Ticket #1791: Stop transcode/commflag from hogging the CPU while recording/playback is in progress.

MythTV mythtv at cvs.mythtv.org
Wed Feb 6 23:33:43 UTC 2008


#1791: Stop transcode/commflag from hogging the CPU while recording/playback is in
progress.
-----------------------------------+----------------------------------------
 Reporter:  mrsam at courier-mta.com  |        Owner:  cpinkham
     Type:  patch                  |       Status:  new     
 Priority:  minor                  |    Milestone:  unknown 
Component:  mythtv                 |      Version:  head    
 Severity:  medium                 |   Resolution:          
  Mlocked:  0                      |  
-----------------------------------+----------------------------------------

Comment(by mrsam at courier-mta.com):

 I got some requests to see the refactored patch, here it is.

 Only one hook is necessary: MSqlQuery::prepare -- everything that hits the
 database goes through here, it's a natural place to add a hook to check
 the job queue, and spin if somebody else is chewing a record (and provide
 a bypass for the users that update the job queue). Done.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1791#comment:8>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list