From 46e105a7b03a220fe791e4507f081cc29c375f0f Mon Sep 17 00:00:00 2001 From: phintuka Date: Wed, 14 Mar 2007 11:50:08 +0000 Subject: Store tid --- tools/debug_mutex.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/debug_mutex.h b/tools/debug_mutex.h index 38bb12ce..0802c7cc 100644 --- a/tools/debug_mutex.h +++ b/tools/debug_mutex.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: debug_mutex.h,v 1.2 2006-12-21 08:07:24 phintuka Exp $ + * $Id: debug_mutex.h,v 1.3 2007-03-14 11:50:08 phintuka Exp $ * */ @@ -39,6 +39,7 @@ static struct { pthread_mutex_t *lock; int line; + int tid; } dbgdata[MAX_DBG_MUTEX+1] = {{NULL,0}}; static void dbg_setdata(pthread_mutex_t *mutex, int line) @@ -47,14 +48,16 @@ static void dbg_setdata(pthread_mutex_t *mutex, int line) for(i=0; i