Updated debugging patch.

This commit is contained in:
Andreas Eversberg 2010-06-08 16:33:00 +02:00
parent 513e12ace5
commit 5c120fb508
1 changed files with 3 additions and 1 deletions

View File

@ -225,7 +225,9 @@ static struct ast_channel_tech lcr_tech;
void lock_debug(char *text)
{
printf("%s", text); fflush(stdout);
pthread_t tid = pthread_self();
// printf("%s|%03x\n", text, ((tid>>6) | (tid>>3) | tid) & 0xfff); fflush(stdout);
printf("%s|%x\n", text, tid); fflush(stdout);
}
/*