[mythtv] Re: [mythtv-commits] mythtv commit: r7382 by danielk
Isaac Richards
ijr at case.edu
Tue Oct 4 19:49:31 UTC 2005
On Tuesday 04 October 2005 03:43 pm, Daniel Kristjansson wrote:
> On Tue, 2005-10-04 at 15:40 -0400, Daniel Kristjansson wrote:
> > Can you try changing:
> > triggerEventLoop.wait(30000 /* ms */);
> > on about line 1234 to
> > triggerEventLoop.wait(1000 /* ms */);
> >
> > And tell me if that fixes things for you.
>
> Can you also try changing that whole block to:
> triggerEventSleep.wakeAll();
> lock.mutex()->unlock();
> usleep(50);
> triggerEventSleep.wakeAll();
> triggerEventLoop.wait(30000 /* ms */);
> lock.mutex()->lock();
Is that usleep really necessary? One that small will just busy-wait. I'd
just make the timeout small.
Isaac
More information about the mythtv-dev
mailing list