From 5279265f2ee48824d326fe1c75709510f27c1c99 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 28 Nov 1999 04:07:11 +0000 Subject: [PATCH] Added missing ldap_pvt_thread_mutex_trylock function. --- libraries/libldap_r/thr_posix.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 ) { -- 2.39.5