Commit 247513ab authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove vlc_object_signal and unexport vlc_object_signal_unlocked

parent 8d1bbd5b
...@@ -135,19 +135,6 @@ VLC_EXPORT( void, __vlc_object_wait, ( vlc_object_t * ) ); ...@@ -135,19 +135,6 @@ VLC_EXPORT( void, __vlc_object_wait, ( vlc_object_t * ) );
#define vlc_object_wait( obj ) \ #define vlc_object_wait( obj ) \
__vlc_object_wait( VLC_OBJECT( obj ) ) __vlc_object_wait( VLC_OBJECT( obj ) )
VLC_EXPORT( void, __vlc_object_signal_unlocked, ( vlc_object_t * ) );
#define vlc_object_signal_unlocked( obj ) \
__vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
static inline void __vlc_object_signal( vlc_object_t *obj )
{
vlc_object_lock( obj );
vlc_object_signal_unlocked( obj );
vlc_object_unlock( obj );
}
#define vlc_object_signal( obj ) \
__vlc_object_signal( VLC_OBJECT( obj ) )
VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) ); VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
#define vlc_object_kill(a) \ #define vlc_object_kill(a) \
__vlc_object_kill( VLC_OBJECT(a) ) __vlc_object_kill( VLC_OBJECT(a) )
......
...@@ -49,6 +49,9 @@ void system_End ( libvlc_int_t * ); ...@@ -49,6 +49,9 @@ void system_End ( libvlc_int_t * );
/* Hopefully, no need to export this. There is a new thread API instead. */ /* Hopefully, no need to export this. There is a new thread API instead. */
void vlc_thread_cancel (vlc_object_t *); void vlc_thread_cancel (vlc_object_t *);
int vlc_object_waitpipe (vlc_object_t *obj); int vlc_object_waitpipe (vlc_object_t *obj);
void __vlc_object_signal_unlocked (vlc_object_t *);
#define vlc_object_signal_unlocked( obj ) \
__vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
void vlc_trace (const char *fn, const char *file, unsigned line); void vlc_trace (const char *fn, const char *file, unsigned line);
#define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__) #define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)
......
...@@ -491,7 +491,6 @@ __vlc_object_kill ...@@ -491,7 +491,6 @@ __vlc_object_kill
__vlc_object_lock __vlc_object_lock
__vlc_object_release __vlc_object_release
__vlc_object_set_destructor __vlc_object_set_destructor
__vlc_object_signal_unlocked
__vlc_object_unlock __vlc_object_unlock
__vlc_object_wait __vlc_object_wait
vlc_poll vlc_poll
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment