[mythtv] [PATCH] process cutlist without transcoding (final)

Geoffrey Hausheer ou401cru02 at sneakemail.com
Wed Jul 9 08:01:02 EDT 2003


On Wed, 9 Jul 2003 03:37:18 -0400, "Isaac Richards ijr-at-po.cwru.edu
|mythtv/1.0-Allow|" <e6kbhbk35r0t at sneakemail.com> said:
> I'm applying this, but I made some changes to the transcoder thread
> (database 
> connection locking related) that I'd like you to test before I enable the 
> thread.  Could you please make sure things work normally with the
> additional 
> locking?

Sure, I'll test it, but I don't exactly see what you are trying to
achieve with the locking. Apparently, you are trying to prevent
simultaneous db access, but with the way you implemented it, only access
between a customEvent and the transcode thread are protected.  Wouldn't
it be better to pass in a global mutex, and protect all of mythbackends
threads from each other?  Or is that the master plan, and this is just
one step on the way?

.Geoff

-- 
  Geoffrey Hausheer
  XXXXXXXXXXXXXXXXXXXXX


More information about the mythtv-dev mailing list