]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/proto-bdb.h
Cleanup prev commit
[openldap] / servers / slapd / back-bdb / proto-bdb.h
index 9933dc227172c48b60747520870b7c5f0c8526fd..34862d31909dda6d7a9c471290f18a590dfe5e6c 100644 (file)
@@ -451,6 +451,8 @@ int bdb_monitor_db_destroy( BackendDB *be );
        ldap_pvt_thread_mutex_lock( &(e)->bei_kids_mutex )
 #define        bdb_cache_entryinfo_unlock(e) \
        ldap_pvt_thread_mutex_unlock( &(e)->bei_kids_mutex )
+#define        bdb_cache_entryinfo_trylock(e) \
+       ldap_pvt_thread_mutex_trylock( &(e)->bei_kids_mutex )
 
 /* What a mess. Hopefully the current cache scheme will stabilize
  * and we can trim out all of this stuff.