]> git.sesse.net Git - vlc/blobdiff - include/vlc_threads.h
Fix vlc_thread_ready invalid use of object_wait
[vlc] / include / vlc_threads.h
index 4cd9827fe9577f3d7a50a0c19600809bbacaa735..374d01d55e25c5a25dc062371a2a0cf5cf04346b 100644 (file)
@@ -166,7 +166,8 @@ enum {
 };
 #endif
 
-#define vlc_thread_ready vlc_object_signal
+VLC_EXPORT(void, vlc_thread_ready, (vlc_object_t *obj));
+#define vlc_thread_ready(o) vlc_thread_ready(VLC_OBJECT(o))
 
 /**
  * Save the cancellation state and disable cancellation for the calling thread.