]> git.sesse.net Git - vlc/commitdiff
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 6bae0f1044ac38b41cc4ec6b7fb92a503cc2ffa6..6092c09000903edd679eb599b3570c62e46c0413 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 00068bd657747f11a9b66d1d4e01fdd24759ae5b..265a39e7e7d867b3ceb4d56cea91641ee648ee8e 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 e3a83d67bc1b9ec61f46fe09c04954517be3e261..cf96680a41368610bc23cab8e9a98ee9bb3ebfca 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 7ac2a3ad206cd65336e053c41d60504be6d2c61c..e78bb4cdf099314acf8e87097c76911fb529da59 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 ();