]> git.sesse.net Git - vlc/commitdiff
vlc_thread_ready: remove
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 10 Jul 2008 19:29:56 +0000 (22:29 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 10 Jul 2008 19:30:18 +0000 (22:30 +0300)
include/vlc_threads.h
src/libvlccore.sym

index 2ce2302b7211a0b5ef38ef8a7955cc3de375606c..f025faef5b8737dfea109b3a4eb760df376e4c96 100644 (file)
@@ -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
  *****************************************************************************/
index da79c2c8adff6415dbb1cef48745e8bdccb4c8bb..3360dbdc5bd9f03aeb4592912cae5ad6708e9f4e 100644 (file)
@@ -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