|
|
@@ -98,7 +98,7 @@ pagedresults_parse_control_value( Slapi_PBlock *pb,
|
|
|
return LDAP_UNWILLING_TO_PERFORM;
|
|
|
}
|
|
|
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
/* the ber encoding is no longer needed */
|
|
|
ber_free(ber, 1);
|
|
|
if ( cookie.bv_len <= 0 ) {
|
|
|
@@ -204,7 +204,7 @@ bail:
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_parse_control_value: idx %d\n", *index);
|
|
|
@@ -301,7 +301,7 @@ pagedresults_free_one( Connection *conn, Operation *op, int index )
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_free_one: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (conn->c_pagedresults.prl_count <= 0) {
|
|
|
LDAPDebug2Args(LDAP_DEBUG_TRACE, "pagedresults_free_one: "
|
|
|
"conn=%d paged requests list count is %d\n",
|
|
|
@@ -312,7 +312,7 @@ pagedresults_free_one( Connection *conn, Operation *op, int index )
|
|
|
conn->c_pagedresults.prl_count--;
|
|
|
rc = 0;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE, "<-- pagedresults_free_one: %d\n", rc);
|
|
|
@@ -364,11 +364,11 @@ pagedresults_get_current_be(Connection *conn, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_get_current_be: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
be = conn->c_pagedresults.prl_list[index].pr_current_be;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_get_current_be: %p\n", be);
|
|
|
@@ -382,12 +382,12 @@ pagedresults_set_current_be(Connection *conn, Slapi_Backend *be, int index, int
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_current_be: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- if (!nolock) PR_Lock(conn->c_mutex);
|
|
|
+ if (!nolock) PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_current_be = be;
|
|
|
}
|
|
|
rc = 0;
|
|
|
- if (!nolock) PR_Unlock(conn->c_mutex);
|
|
|
+ if (!nolock) PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_set_current_be: %d\n", rc);
|
|
|
@@ -406,13 +406,13 @@ pagedresults_get_search_result(Connection *conn, Operation *op, int locked, int
|
|
|
locked?"locked":"not locked", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
if (!locked) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
}
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
sr = conn->c_pagedresults.prl_list[index].pr_search_result_set;
|
|
|
}
|
|
|
if (!locked) {
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
@@ -431,7 +431,7 @@ pagedresults_set_search_result(Connection *conn, Operation *op, void *sr, int lo
|
|
|
"--> pagedresults_set_search_result: idx=%d, sr=%p\n",
|
|
|
index, sr);
|
|
|
if (conn && (index > -1)) {
|
|
|
- if (!locked) PR_Lock(conn->c_mutex);
|
|
|
+ if (!locked) PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
PagedResults *prp = conn->c_pagedresults.prl_list + index;
|
|
|
if (!(prp->pr_flags & CONN_FLAG_PAGEDRESULTS_ABANDONED) || !sr) {
|
|
|
@@ -440,7 +440,7 @@ pagedresults_set_search_result(Connection *conn, Operation *op, void *sr, int lo
|
|
|
}
|
|
|
rc = 0;
|
|
|
}
|
|
|
- if (!locked) PR_Unlock(conn->c_mutex);
|
|
|
+ if (!locked) PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_set_search_result: %d\n", rc);
|
|
|
@@ -457,11 +457,11 @@ pagedresults_get_search_result_count(Connection *conn, Operation *op, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_get_search_result_count: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
count = conn->c_pagedresults.prl_list[index].pr_search_result_count;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_get_search_result_count: %d\n", count);
|
|
|
@@ -479,11 +479,11 @@ pagedresults_set_search_result_count(Connection *conn, Operation *op,
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_search_result_count: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_search_result_count = count;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
rc = 0;
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
@@ -504,11 +504,11 @@ pagedresults_get_search_result_set_size_estimate(Connection *conn,
|
|
|
"--> pagedresults_get_search_result_set_size_estimate: "
|
|
|
"idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
count = conn->c_pagedresults.prl_list[index].pr_search_result_set_size_estimate;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_get_search_result_set_size_estimate: %d\n",
|
|
|
@@ -529,11 +529,11 @@ pagedresults_set_search_result_set_size_estimate(Connection *conn,
|
|
|
"--> pagedresults_set_search_result_set_size_estimate: "
|
|
|
"idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_search_result_set_size_estimate = count;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
rc = 0;
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
@@ -552,11 +552,11 @@ pagedresults_get_with_sort(Connection *conn, Operation *op, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_get_with_sort: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
flags = conn->c_pagedresults.prl_list[index].pr_flags&CONN_FLAG_PAGEDRESULTS_WITH_SORT;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_get_with_sort: %p\n", flags);
|
|
|
@@ -574,14 +574,14 @@ pagedresults_set_with_sort(Connection *conn, Operation *op,
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_with_sort: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
if (flags & OP_FLAG_SERVER_SIDE_SORTING) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_flags |=
|
|
|
CONN_FLAG_PAGEDRESULTS_WITH_SORT;
|
|
|
}
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
rc = 0;
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE, "<-- pagedresults_set_with_sort: %d\n", rc);
|
|
|
@@ -598,11 +598,11 @@ pagedresults_get_unindexed(Connection *conn, Operation *op, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_get_unindexed: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
flags = conn->c_pagedresults.prl_list[index].pr_flags&CONN_FLAG_PAGEDRESULTS_UNINDEXED;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_get_unindexed: %p\n", flags);
|
|
|
@@ -619,12 +619,12 @@ pagedresults_set_unindexed(Connection *conn, Operation *op, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_unindexed: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_flags |=
|
|
|
CONN_FLAG_PAGEDRESULTS_UNINDEXED;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
rc = 0;
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
@@ -642,11 +642,11 @@ pagedresults_get_sort_result_code(Connection *conn, Operation *op, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_get_sort_result_code: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
code = conn->c_pagedresults.prl_list[index].pr_sort_result_code;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_get_sort_result_code: %d\n", code);
|
|
|
@@ -664,11 +664,11 @@ pagedresults_set_sort_result_code(Connection *conn, Operation *op,
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_sort_result_code: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_sort_result_code = code;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
rc = 0;
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
@@ -687,11 +687,11 @@ pagedresults_set_timelimit(Connection *conn, Operation *op,
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_timelimit: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_timelimit = timelimit;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
rc = 0;
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE, "<-- pagedresults_set_timelimit: %d\n", rc);
|
|
|
@@ -749,7 +749,7 @@ pagedresults_cleanup(Connection *conn, int needlock)
|
|
|
}
|
|
|
|
|
|
if (needlock) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
}
|
|
|
for (i = 0; conn->c_pagedresults.prl_list &&
|
|
|
i < conn->c_pagedresults.prl_maxlen; i++) {
|
|
|
@@ -767,7 +767,7 @@ pagedresults_cleanup(Connection *conn, int needlock)
|
|
|
}
|
|
|
conn->c_pagedresults.prl_count = 0;
|
|
|
if (needlock) {
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE, "<-- pagedresults_cleanup: %d\n", rc);
|
|
|
return rc;
|
|
|
@@ -794,7 +794,7 @@ pagedresults_cleanup_all(Connection *conn, int needlock)
|
|
|
}
|
|
|
|
|
|
if (needlock) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
}
|
|
|
for (i = 0; conn->c_pagedresults.prl_list &&
|
|
|
i < conn->c_pagedresults.prl_maxlen; i++) {
|
|
|
@@ -813,7 +813,7 @@ pagedresults_cleanup_all(Connection *conn, int needlock)
|
|
|
conn->c_pagedresults.prl_maxlen = 0;
|
|
|
conn->c_pagedresults.prl_count = 0;
|
|
|
if (needlock) {
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE, "<-- pagedresults_cleanup_all: %d\n", rc);
|
|
|
return rc;
|
|
|
@@ -832,7 +832,7 @@ pagedresults_check_or_set_processing(Connection *conn, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_check_or_set_processing\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
ret = (conn->c_pagedresults.prl_list[index].pr_flags &
|
|
|
CONN_FLAG_PAGEDRESULTS_PROCESSING);
|
|
|
@@ -840,7 +840,7 @@ pagedresults_check_or_set_processing(Connection *conn, int index)
|
|
|
conn->c_pagedresults.prl_list[index].pr_flags |=
|
|
|
CONN_FLAG_PAGEDRESULTS_PROCESSING;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_check_or_set_processing: %d\n", ret);
|
|
|
@@ -859,7 +859,7 @@ pagedresults_reset_processing(Connection *conn, int index)
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_reset_processing: idx=%d\n", index);
|
|
|
if (conn && (index > -1)) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
ret = (conn->c_pagedresults.prl_list[index].pr_flags &
|
|
|
CONN_FLAG_PAGEDRESULTS_PROCESSING);
|
|
|
@@ -867,7 +867,7 @@ pagedresults_reset_processing(Connection *conn, int index)
|
|
|
conn->c_pagedresults.prl_list[index].pr_flags &=
|
|
|
~CONN_FLAG_PAGEDRESULTS_PROCESSING;
|
|
|
}
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_reset_processing: %d\n", ret);
|
|
|
@@ -981,9 +981,9 @@ pagedresults_lock( Connection *conn, int index )
|
|
|
if (!conn || (index < 0) || (index >= conn->c_pagedresults.prl_maxlen)) {
|
|
|
return;
|
|
|
}
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
prp = conn->c_pagedresults.prl_list + index;
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
if (prp->pr_mutex) {
|
|
|
PR_Lock(prp->pr_mutex);
|
|
|
}
|
|
|
@@ -997,9 +997,9 @@ pagedresults_unlock( Connection *conn, int index )
|
|
|
if (!conn || (index < 0) || (index >= conn->c_pagedresults.prl_maxlen)) {
|
|
|
return;
|
|
|
}
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
prp = conn->c_pagedresults.prl_list + index;
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
if (prp->pr_mutex) {
|
|
|
PR_Unlock(prp->pr_mutex);
|
|
|
}
|
|
|
@@ -1014,11 +1014,11 @@ pagedresults_is_abandoned_or_notavailable(Connection *conn, int locked, int inde
|
|
|
return 1; /* not abandoned, but do not want to proceed paged results op. */
|
|
|
}
|
|
|
if (!locked) {
|
|
|
- PR_Lock(conn->c_mutex);
|
|
|
+ PR_EnterMonitor(conn->c_mutex);
|
|
|
}
|
|
|
prp = conn->c_pagedresults.prl_list + index;
|
|
|
if (!locked) {
|
|
|
- PR_Unlock(conn->c_mutex);
|
|
|
+ PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
return prp->pr_flags & CONN_FLAG_PAGEDRESULTS_ABANDONED;
|
|
|
}
|
|
|
@@ -1042,12 +1042,12 @@ pagedresults_set_search_result_pb(Slapi_PBlock *pb, void *sr, int locked)
|
|
|
LDAPDebug2Args(LDAP_DEBUG_TRACE,
|
|
|
"--> pagedresults_set_search_result_pb: idx=%d, sr=%p\n", index, sr);
|
|
|
if (conn && (index > -1)) {
|
|
|
- if (!locked) PR_Lock(conn->c_mutex);
|
|
|
+ if (!locked) PR_EnterMonitor(conn->c_mutex);
|
|
|
if (index < conn->c_pagedresults.prl_maxlen) {
|
|
|
conn->c_pagedresults.prl_list[index].pr_search_result_set = sr;
|
|
|
rc = 0;
|
|
|
}
|
|
|
- if (!locked) PR_Unlock(conn->c_mutex);
|
|
|
+ if (!locked) PR_ExitMonitor(conn->c_mutex);
|
|
|
}
|
|
|
LDAPDebug1Arg(LDAP_DEBUG_TRACE,
|
|
|
"<-- pagedresults_set_search_result_pb: %d\n", rc);
|