]> git.sesse.net Git - vlc/commitdiff
Remove thread ID.
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 6 Nov 2008 20:34:24 +0000 (22:34 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 6 Nov 2008 20:34:24 +0000 (22:34 +0200)
Iinvalid on POSIX (pthread_t is not scalar), crashing on Win32

src/misc/threads.c

index c6d586095e5f8c46f7503b2787dd8c05f383dae6..80872df2c46170acc684e6c2245f1c321a4075e7 100644 (file)
@@ -805,9 +805,8 @@ int __vlc_thread_create( vlc_object_t *p_this, const char * psz_file, int i_line
     i_ret = vlc_clone( &p_priv->thread_id, thread_entry, boot, i_priority );
     if( i_ret == 0 )
     {
-        msg_Dbg( p_this, "thread %lu (%s) created at priority %d (%s:%d)",
-                 (unsigned long)p_priv->thread_id, psz_name, i_priority,
-                 psz_file, i_line );
+        msg_Dbg( p_this, "thread (%s) created at priority %d (%s:%d)",
+                 psz_name, i_priority, psz_file, i_line );
         if( b_wait )
         {
             msg_Dbg( p_this, "waiting for thread initialization" );