[vlc-devel] commit: Remove thread ID. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Nov 6 21:35:07 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Nov 6 22:34:24 2008 +0200| [0557b943ad4847383369315155c8d8fd8f790856] | committer: Rémi Denis-Courmont
Remove thread ID.
Iinvalid on POSIX (pthread_t is not scalar), crashing on Win32
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0557b943ad4847383369315155c8d8fd8f790856
---
src/misc/threads.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index c6d5860..80872df 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -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" );
More information about the vlc-devel
mailing list