Do not call vlc_thread_ready with non-waiting vlc_thread_create
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 8 Sep 2008 16:18:46 +0000 (19:18 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 8 Sep 2008 16:36:59 +0000 (19:36 +0300)
modules/access_output/bonjour.c
modules/audio_output/directx.c
modules/video_filter/atmo/AtmoThread.cpp
modules/video_filter/atmo/atmo.cpp

index 6bae0f1..6092c09 100644 (file)
@@ -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) )
index 00068bd..265a39e 100644 (file)
@@ -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 */
index e3a83d6..cf96680 100644 (file)
@@ -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);
index 7ac2a3a..e78bb4c 100644 (file)
@@ -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 ();