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
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
