[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: RE24 testing call#1 (2.4.30)



On Fri, 24 Feb 2012, Quanah Gibson-Mount wrote:

If you know how to build OpenLDAP manually, and would like to participate in testing the next set of code for the 2.4.30 release, please do so.

Missing a couple thread stub functions. Add them back in (below), and I'm OK on:

Solaris 9 sparcv7/sparcv9
Fedora 16 x86_64
Fedora 16 x86_64 --without-threads


[PATCH] Add thread pool stub functions

---
 libraries/libldap_r/thr_stub.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/libraries/libldap_r/thr_stub.c b/libraries/libldap_r/thr_stub.c
index 402abc3..00c1cb4 100644
--- a/libraries/libldap_r/thr_stub.c
+++ b/libraries/libldap_r/thr_stub.c
@@ -202,6 +202,16 @@ ldap_pvt_thread_pool_destroy (
 	return(0);
 }

+void ldap_pvt_thread_pool_idle( ldap_pvt_thread_pool_t *tpool )
+{
+	return;
+}
+
+void ldap_pvt_thread_pool_unidle( ldap_pvt_thread_pool_t *tpool )
+{
+	return;
+}
+
 int ldap_pvt_thread_pool_getkey (
 	void *ctx, void *key, void **data, ldap_pvt_thread_pool_keyfree_t **kfree )
 {
--
1.7.7.4