]> git.sesse.net Git - vlc/blobdiff - include/vlc_threads_funcs.h
* vlc_variables.h: remove unused VLC_VAR_ISLIST define
[vlc] / include / vlc_threads_funcs.h
index d77d804a30dd256f5ef02b6fc237959d57250949..f5bda035c870bfcbbc5ef9a5f6ff88246fb3f809 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 /*****************************************************************************
  * Function definitions
  *****************************************************************************/
@@ -503,9 +507,8 @@ static inline int __vlc_cond_wait( const char * psz_file, int i_line,
 
     if( i_result == ETIMEDOUT )
     {
-        /* People keep pissing me off with this. --Meuuh */
         msg_Dbg( p_condvar->p_this,
-                  "thread %li: secret message triggered "
+                  "thread %li: possible condition deadlock "
                   "at %s:%d (%s)", CAST_PTHREAD_TO_INT(pthread_self()),
                   psz_file, i_line, strerror(i_result) );