version 1.41.2.2, 2005/03/14 22:24:57
|
version 1.41.2.3, 2005/04/29 21:29:02
|
Line 1
|
Line 1
|
/* ldap_pvt_thread.h - ldap threads header file */ |
/* ldap_pvt_thread.h - ldap threads header file */ |
/* $OpenLDAP: pkg/ldap/include/ldap_pvt_thread.h,v 1.41.2.1 2005/01/20 18:03:48 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/include/ldap_pvt_thread.h,v 1.41.2.2 2005/03/14 22:24:57 kurt Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2005 The OpenLDAP Foundation. |
* Copyright 1998-2005 The OpenLDAP Foundation. |
Line 44 ldap_pvt_thread_set_concurrency LDAP_P((
|
Line 44 ldap_pvt_thread_set_concurrency LDAP_P((
|
#define LDAP_PVT_THREAD_CREATE_JOINABLE 0 |
#define LDAP_PVT_THREAD_CREATE_JOINABLE 0 |
#define LDAP_PVT_THREAD_CREATE_DETACHED 1 |
#define LDAP_PVT_THREAD_CREATE_DETACHED 1 |
|
|
|
#define LDAP_PVT_THREAD_SET_STACK_SIZE |
#ifndef LDAP_PVT_THREAD_STACK_SIZE |
#ifndef LDAP_PVT_THREAD_STACK_SIZE |
/* LARGE stack */ |
/* LARGE stack. Will be twice as large on 64 bit machine. */ |
#define LDAP_PVT_THREAD_STACK_SIZE (4*1024*1024) |
#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) |
|
/* May be explicitly defined to zero to disable it */ |
|
#elif LDAP_PVT_THREAD_STACK_SIZE == 0 |
|
#undef LDAP_PVT_THREAD_SET_STACK_SIZE |
#endif |
#endif |
|
|
LDAP_F( int ) |
LDAP_F( int ) |
Line 198 ldap_pvt_thread_pool_setkey LDAP_P((
|
Line 202 ldap_pvt_thread_pool_setkey LDAP_P((
|
void *data, |
void *data, |
ldap_pvt_thread_pool_keyfree_t *kfree )); |
ldap_pvt_thread_pool_keyfree_t *kfree )); |
|
|
|
LDAP_F( void ) |
|
ldap_pvt_thread_pool_purgekey LDAP_P(( void *key )); |
|
|
LDAP_F( void *) |
LDAP_F( void *) |
ldap_pvt_thread_pool_context LDAP_P(( void )); |
ldap_pvt_thread_pool_context LDAP_P(( void )); |
|
|