]> git.sur5r.net Git - openldap/blobdiff - include/ldap_int_thread.h
ITS#7359 MozNSS: prefer unlocked slot when getting private key
[openldap] / include / ldap_int_thread.h
index c2c75c758ef8ab504e2c02d0e318e76f5eadf5a3..4fe31c37173877444488d483392dbaf9d1ee5950 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * 
- * Copyright 1998-2010 The OpenLDAP Foundation.
+ * Copyright 1998-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -183,7 +183,7 @@ typedef DWORD       ldap_int_thread_key_t;
 #ifndef LDAP_INT_MUTEX_NULL
 #define LDAP_INT_MUTEX_NULL            ((HANDLE)0)
 #define LDAP_INT_MUTEX_FIRSTCREATE(m) \
-               ((void) ((m) || ldap_int_thread_mutex_init(&(m))))
+               ((void) ((m) || ldap_pvt_thread_mutex_init(&(m))))
 #endif
 
 LDAP_END_DECL