version 1.32.2.6, 2003/02/09 17:02:17
|
version 1.33, 2002/08/24 03:39:43
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/include/ldap_pvt_thread.h,v 1.38 2003/01/24 05:49:43 lukeh Exp $ */ |
/* $OpenLDAP: pkg/ldap/include/ldap_pvt_thread.h,v 1.32 2002/01/04 19:40:30 kurt Exp $ */ |
/* |
/* |
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA |
* Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA |
* 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 43 ldap_pvt_thread_set_concurrency LDAP_P((
|
Line 43 ldap_pvt_thread_set_concurrency LDAP_P((
|
|
|
#ifndef LDAP_PVT_THREAD_STACK_SIZE |
#ifndef LDAP_PVT_THREAD_STACK_SIZE |
/* LARGE stack */ |
/* LARGE stack */ |
#define LDAP_PVT_THREAD_STACK_SIZE (4*1024*1024) |
#define LDAP_PVT_THREAD_STACK_SIZE (16*1024*1024) |
#endif |
#endif |
|
|
LDAP_F( int ) |
LDAP_F( int ) |
Line 97 ldap_pvt_thread_mutex_trylock LDAP_P(( l
|
Line 97 ldap_pvt_thread_mutex_trylock LDAP_P(( l
|
LDAP_F( int ) |
LDAP_F( int ) |
ldap_pvt_thread_mutex_unlock LDAP_P(( ldap_pvt_thread_mutex_t *mutex )); |
ldap_pvt_thread_mutex_unlock LDAP_P(( ldap_pvt_thread_mutex_t *mutex )); |
|
|
LDAP_F( ldap_pvt_thread_t ) |
|
ldap_pvt_thread_self LDAP_P(( void )); |
|
|
|
#ifndef LDAP_THREAD_HAVE_RDWR |
#ifndef LDAP_THREAD_HAVE_RDWR |
typedef struct ldap_int_thread_rdwr_s * ldap_pvt_thread_rdwr_t; |
typedef struct ldap_int_thread_rdwr_s * ldap_pvt_thread_rdwr_t; |
#endif |
#endif |
Line 187 ldap_pvt_thread_pool_setkey LDAP_P((
|
Line 184 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_context LDAP_P(( |
|
ldap_pvt_thread_pool_t *pool )); |
|
|
|
LDAP_END_DECL |
LDAP_END_DECL |
|
|