From: RĂ©mi Denis-Courmont Date: Thu, 10 Jul 2008 19:29:56 +0000 (+0300) Subject: vlc_thread_ready: remove X-Git-Tag: 0.9.0-test2~77 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f698b433edd2d9ec7769f750586e6faa29da8074;p=vlc vlc_thread_ready: remove --- diff --git a/include/vlc_threads.h b/include/vlc_threads.h index 2ce2302b72..f025faef5b 100644 --- a/include/vlc_threads.h +++ b/include/vlc_threads.h @@ -171,9 +171,10 @@ VLC_EXPORT( int, vlc_threadvar_create, (vlc_threadvar_t * , void (*) (void *) ) VLC_EXPORT( void, vlc_threadvar_delete, (vlc_threadvar_t *) ); VLC_EXPORT( int, __vlc_thread_create, ( vlc_object_t *, const char *, int, const char *, void * ( * ) ( void * ), int, bool ) ); VLC_EXPORT( int, __vlc_thread_set_priority, ( vlc_object_t *, const char *, int, int ) ); -VLC_EXPORT( void, __vlc_thread_ready, ( vlc_object_t * ) ); VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) ); +#define vlc_thread_ready vlc_object_signal + /***************************************************************************** * vlc_mutex_lock: lock a mutex *****************************************************************************/ @@ -596,12 +597,6 @@ static inline void barrier (void) #define vlc_thread_set_priority( P_THIS, PRIORITY ) \ __vlc_thread_set_priority( VLC_OBJECT(P_THIS), __FILE__, __LINE__, PRIORITY ) -/***************************************************************************** - * vlc_thread_ready: tell the parent thread we were successfully spawned - *****************************************************************************/ -#define vlc_thread_ready( P_THIS ) \ - __vlc_thread_ready( VLC_OBJECT(P_THIS) ) - /***************************************************************************** * vlc_thread_join: wait until a thread exits *****************************************************************************/ diff --git a/src/libvlccore.sym b/src/libvlccore.sym index da79c2c8ad..3360dbdc5b 100644 --- a/src/libvlccore.sym +++ b/src/libvlccore.sym @@ -463,7 +463,6 @@ vlc_strtoll vlc_submodule_create __vlc_thread_create __vlc_thread_join -__vlc_thread_ready __vlc_thread_set_priority vlc_threadvar_create vlc_threadvar_delete