]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-perl/modify.c
Implemented the open, init functions correctly
[openldap] / servers / slapd / back-perl / modify.c
index 064701d1f6bbf0ef39989399a9b543dc52c49672..c0f8227a0108877ea42d6925a7d97b13f0c29ba5 100644 (file)
@@ -38,7 +38,7 @@ perl_back_modify(
 
        PerlBackend *perl_back = (PerlBackend *)be->be_private;
 
-       pthread_mutex_lock( &perl_interpreter_mutex );  
+       ldap_pvt_thread_mutex_lock( &perl_interpreter_mutex );  
 
        {
                dSP; ENTER; SAVETMPS;
@@ -89,7 +89,7 @@ perl_back_modify(
                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, "", "" );