From: Howard Chu Date: Sun, 28 Nov 1999 04:07:11 +0000 (+0000) Subject: Added missing ldap_pvt_thread_mutex_trylock function. X-Git-Tag: UCDATA_2_4~159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5279265f2ee48824d326fe1c75709510f27c1c99;p=openldap Added missing ldap_pvt_thread_mutex_trylock function. --- diff --git a/libraries/libldap_r/thr_posix.c b/libraries/libldap_r/thr_posix.c index c44bee48c3..1a6810c525 100644 --- a/libraries/libldap_r/thr_posix.c +++ b/libraries/libldap_r/thr_posix.c @@ -195,6 +195,12 @@ ldap_pvt_thread_mutex_lock( ldap_pvt_thread_mutex_t *mutex ) return pthread_mutex_lock( mutex ); } +int +ldap_pvt_thread_mutex_trylock( ldap_pvt_thread_mutex_t *mutex ) +{ + return pthread_mutex_trylock( mutex ); +} + int ldap_pvt_thread_mutex_unlock( ldap_pvt_thread_mutex_t *mutex ) {