[mythtv] Ticket #3062: Freebsd compatibility patches
usleepless at gmail.com
usleepless at gmail.com
Fri Mar 9 22:27:43 UTC 2007
Isaac, List,
On 3/4/07, Isaac Richards <ijr at case.edu> wrote:
> On Friday 16 February 2007 8:52:50 pm Isaac Richards wrote:
> > On Wednesday 14 February 2007 9:15:21 pm Nigel Pearson wrote:
> > > [much discussion on programs/mythbackend/mainserver.cpp locking deleted]
> > >
> > > > Actually, looking at it again, I see what the problem on freebsd
> > > > could be.
> > > > Easy enough to fix properly, without breaking the lock or just
> > > > disabling it..
> > > > =)
> > > >
> > > > Isaac
> > >
> > > Sorry to hassle you, Myth(ical) boss-man,
> > > but did you make any progress on this?
> > >
> > > Any psuedo-code that usleep could test?
> >
> > Sorry, I've been out of town for work. I still have a few thousand emails
> > to read. Basically, just need to move the socket's lock into the worker's
> > run() function (before processing) instead of readyRead(), and add the
> > readyReadLock to customEvent()'s 'sendstuff' clause. I think. =)
>
> Patch attached. I've only tested it for a couple hours, but I'm fairly sure
> it's working as intended. Once I get some other confirmation that it works,
> I'll commit it.
i can confirm the attach patch ( "lock_fix.diff" ) works on
freebsd-6.2-amd64 with mythtv-svn.
regards,
usleep
More information about the mythtv-dev
mailing list