]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-perl/modrdn.c
Implemented the open, init functions correctly
[openldap] / servers / slapd / back-perl / modrdn.c
index 32d9433af6cce16181b32923ae9a5742422c2caa..9259e21314e85332e8d64ca202ced5aef108f8fc 100644 (file)
@@ -36,7 +36,7 @@ perl_back_modrdn(
 
        PerlBackend *perl_back = (PerlBackend *) be->be_private;
 
-       pthread_mutex_lock( &perl_interpreter_mutex );  
+       ldap_pvt_thread_mutex_lock( &perl_interpreter_mutex );  
 
        {
                dSP; ENTER; SAVETMPS;
@@ -61,7 +61,7 @@ perl_back_modrdn(
                PUTBACK; FREETMPS; LEAVE ;
        }
 
-       pthread_mutex_unlock( &perl_interpreter_mutex );
+       ldap_pvt_thread_mutex_unlock( &perl_interpreter_mutex );
 
        if( return_code != 0 ) {
                send_ldap_result( conn, op, LDAP_OPERATIONS_ERROR, "", "" );