|
Lines 57-68
ldap_pvt_thread_set_concurrency LDAP_P(( int ));
Link Here
|
| 57 |
|
57 |
|
| 58 |
#ifndef LDAP_PVT_THREAD_H_DONE |
58 |
#ifndef LDAP_PVT_THREAD_H_DONE |
| 59 |
#define LDAP_PVT_THREAD_SET_STACK_SIZE |
59 |
#define LDAP_PVT_THREAD_SET_STACK_SIZE |
| 60 |
#ifndef LDAP_PVT_THREAD_STACK_SIZE |
|
|
| 61 |
/* LARGE stack. Will be twice as large on 64 bit machine. */ |
| 62 |
#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) |
| 63 |
/* May be explicitly defined to zero to disable it */ |
60 |
/* May be explicitly defined to zero to disable it */ |
| 64 |
#elif LDAP_PVT_THREAD_STACK_SIZE == 0 |
61 |
#if defined( LDAP_PVT_THREAD_STACK_SIZE ) && LDAP_PVT_THREAD_STACK_SIZE == 0 |
| 65 |
#undef LDAP_PVT_THREAD_SET_STACK_SIZE |
62 |
#undef LDAP_PVT_THREAD_SET_STACK_SIZE |
|
|
63 |
#elif !defined(LDAP_PVT_THREAD_STACK_SIZE) |
| 64 |
/* LARGE stack. Will be twice as large on 64 bit machine. */ |
| 65 |
#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) |
| 66 |
#endif |
66 |
#endif |
| 67 |
#endif /* !LDAP_PVT_THREAD_H_DONE */ |
67 |
#endif /* !LDAP_PVT_THREAD_H_DONE */ |
| 68 |
|
68 |
|