From f698b433edd2d9ec7769f750586e6faa29da8074 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 10 Jul 2008 22:29:56 +0300 Subject: [PATCH] vlc_thread_ready: remove --- include/vlc_threads.h | 9 ++------- src/libvlccore.sym | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) 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 -- 2.39.2