uwrap: Use UWRAP_LOCK/UNLOCK macros instead of pthread_mutex_lock/unlock calls.
commite279eee670310530eebe5dcfa3fc16b54d0356f2
authorRobin Hack <hack.robin@gmail.com>
Fri, 23 Jan 2015 13:00:49 +0000 (23 14:00 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 28 Jan 2015 16:17:07 +0000 (28 17:17 +0100)
tree5f5d4055a9cfb829a053fe046a9b11305b0ef934
parent6ca1cf208e0cb0af2153e9d559592730d5acb74c
uwrap: Use UWRAP_LOCK/UNLOCK macros instead of pthread_mutex_lock/unlock calls.

New macros UWRAP_LOCK/UNLOCK has been created and all calls to
pthread_mutex_lock/unlock has been replaced by these macros.

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/uid_wrapper/uid_wrapper.c