version 1.39.2.4, 2005/05/03 22:40:37
|
version 1.40, 2003/11/26 06:16:36
|
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.39.2.3 2005/01/20 17:00:59 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/include/ldap_pvt_thread.h,v 1.39 2003/04/12 02:01:40 hyc 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-2003 The OpenLDAP Foundation. |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
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. Will be twice as large on 64 bit machine. */ |
/* LARGE stack */ |
#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) |
#define LDAP_PVT_THREAD_STACK_SIZE (4*1024*1024) |
/* 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 ) |