Add yaz_mutex_set_name to debug a MUTEX
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Mar 2010 13:44:49 +0000 (14:44 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Mar 2010 13:44:49 +0000 (14:44 +0100)
commit0836f7a70cff4b7a8edc2c2a2fd1b3cb2c6588cc
tree258891e549af0a8cfc361d00ee97e5f71f0c5c5c
parentfec04146c50098096daab3c22095f7174b2aa84c
Add yaz_mutex_set_name to debug a MUTEX

When yaz_mutex_set_name is used, each lock/unlock operation will be
yaz_log'ged. Remove YAZ_GNU_THREADS portions, since they are no
not in use. The yaz_mutex_destroy now calls pthread_mutex_destroy
if YAZ_POSIX_THREADS is on.
include/yaz/mutex.h
src/mutex.c