]> git.sur5r.net Git - openldap/commitdiff
Added missing ldap_pvt_thread_mutex_trylock function.
authorHoward Chu <hyc@openldap.org>
Sun, 28 Nov 1999 04:07:11 +0000 (04:07 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 28 Nov 1999 04:07:11 +0000 (04:07 +0000)
libraries/libldap_r/thr_posix.c

index c44bee48c315ff463008ef9177c3b2b500db6dc7..1a6810c525c4d0349bb1898982c8a55480ebf9d0 100644 (file)
@@ -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 )
 {