[vlc-devel] commit: Do not call vlc_thread_ready with non-waiting vlc_thread_create ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Sep 8 18:33:39 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Sep 8 19:18:46 2008 +0300| [67f455a8bc8ffa11a3596392b5f0051811918a19] | committer: Rémi Denis-Courmont
Do not call vlc_thread_ready with non-waiting vlc_thread_create
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=67f455a8bc8ffa11a3596392b5f0051811918a19
---
modules/access_output/bonjour.c | 1 -
modules/audio_output/directx.c | 3 ---
modules/video_filter/atmo/AtmoThread.cpp | 3 ---
modules/video_filter/atmo/atmo.cpp | 2 --
4 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/modules/access_output/bonjour.c b/modules/access_output/bonjour.c
index 6bae0f1..6092c09 100644
--- a/modules/access_output/bonjour.c
+++ b/modules/access_output/bonjour.c
@@ -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) )
diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 00068bd..265a39e 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -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 */
diff --git a/modules/video_filter/atmo/AtmoThread.cpp b/modules/video_filter/atmo/AtmoThread.cpp
index e3a83d6..cf96680 100644
--- a/modules/video_filter/atmo/AtmoThread.cpp
+++ b/modules/video_filter/atmo/AtmoThread.cpp
@@ -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);
diff --git a/modules/video_filter/atmo/atmo.cpp b/modules/video_filter/atmo/atmo.cpp
index 7ac2a3a..e78bb4c 100644
--- a/modules/video_filter/atmo/atmo.cpp
+++ b/modules/video_filter/atmo/atmo.cpp
@@ -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 ();
More information about the vlc-devel
mailing list