Commit 67f455a8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not call vlc_thread_ready with non-waiting vlc_thread_create

parent 1bf1f77f
......@@ -175,7 +175,6 @@ static void client_callback( AvahiClient *c,
static void* poll_iterate_thread( vlc_object_t *p_this )
{
poll_thread_t *p_pt = (poll_thread_t*)p_this;
vlc_thread_ready( p_pt );
int canc = vlc_savecancel ();
while( vlc_object_alive (p_pt) )
......
......@@ -1059,9 +1059,6 @@ static void* DirectSoundThread( vlc_object_t *p_this )
/* We don't want any resampling when using S/PDIF output */
b_sleek = p_aout->output.output.i_format == VLC_FOURCC('s','p','d','i');
/* Tell the main thread that we are ready */
vlc_thread_ready( p_notif );
msg_Dbg( p_notif, "DirectSoundThread ready" );
/* Wait here until Play() is called */
......
......@@ -74,9 +74,6 @@ void *CThread::ThreadProc(vlc_object_t *obj)
if(pThread) {
int canc;
// give feedback I'am running?
vlc_thread_ready( pThread->m_pAtmoThread );
canc = vlc_savecancel ();
pThread->Execute();
vlc_restorecancel (canc);
......
......@@ -1737,8 +1737,6 @@ static void *FadeToColorThread(vlc_object_t *obj)
int i_src_green;
int i_src_blue;
vlc_thread_ready( p_fadethread );
uint8_t *p_source = NULL;
int canc = vlc_savecancel ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment