*/
int vlc_threads_init( void );
void vlc_threads_end( void );
+vlc_object_t *vlc_threadobj (void);
+#ifndef NDEBUG
+void vlc_refcheck (vlc_object_t *obj);
+#else
+# define vlc_refcheck( obj ) (void)0
+#endif
/*
* CPU capabilities
vlc_spinlock_t ref_spin;
unsigned i_refcount;
vlc_destructor_t pf_destructor;
+#ifndef NDEBUG
+ vlc_thread_t creator_id;
+#endif
/* Objects tree structure */
vlc_object_t *prev, *next;