projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
513e12a
)
Updated debugging patch.
author
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 8 Jun 2010 14:33:00 +0000
(16:33 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 8 Jun 2010 14:33:00 +0000
(16:33 +0200)
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
cf711bc
..
d4510d6
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-225,7
+225,9
@@
static struct ast_channel_tech lcr_tech;
void lock_debug(char *text)
{
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);
}
/*
}
/*