yaz_log: Log level tid logs thread ID
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 16 Apr 2010 13:04:18 +0000 (15:04 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 16 Apr 2010 13:04:18 +0000 (15:04 +0200)
commit6f2f82e34ee173a0626432b57ebcbb8375e83a68
treea0bc54393e5ad9904faa5885d47572fe4c5cd31e
parent3e6398d15008d68aa36b0b985a18f142fcfa9a8f
yaz_log: Log level tid logs thread ID

Add new utility yaz_thread_id_cstr to return human-readable
ID of current thread. At this stage pthread_self is used. This
can be misleading because pthread_t (pointers presumably) are
reused between thread creations.
include/yaz/Makefile.am
include/yaz/log.h
include/yaz/thread_id.h [new file with mode: 0644]
src/Makefile.am
src/log.c
src/thread_id.c [new file with mode: 0644]