From f53397766768333d79eedde2ddbc5a6a8525b044 Mon Sep 17 00:00:00 2001 From: phintuka Date: Thu, 8 Mar 2007 13:57:48 +0000 Subject: Removed pthread_yield() as there is already cCondWait::SleepMs() --- frontend_local.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend_local.c b/frontend_local.c index 6bbf4bc3..74769f59 100644 --- a/frontend_local.c +++ b/frontend_local.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.c,v 1.20 2007-03-04 19:48:08 phintuka Exp $ + * $Id: frontend_local.c,v 1.21 2007-03-08 13:57:48 phintuka Exp $ * */ @@ -191,10 +191,8 @@ void cXinelibLocal::ConfigureDecoder(int pes_buffers, int priority) fe->fe_interrupt(fe); } - while(!m_bReady && !GetStopSignal()) { + while(!m_bReady && !GetStopSignal()) cCondWait::SleepMs(100); - pthread_yield(); - } cCondWait::SleepMs(100); } -- cgit v1.2.3