Diff for /include/ldap_int_thread.h between versions 1.20.2.7 and 1.25

version 1.20.2.7, 2009/01/22 00:00:52 version 1.25, 2007/01/10 23:55:26
Line 1 Line 1
 /* ldap_int_thread.h - ldap internal thread wrappers header file */  /* ldap_int_thread.h - ldap internal thread wrappers header file */
 /* $OpenLDAP: pkg/ldap/include/ldap_int_thread.h,v 1.20.2.6 2008/11/21 18:51:50 quanah Exp $ */  /* $OpenLDAP: pkg/ldap/include/ldap_int_thread.h,v 1.24 2007/01/10 00:29:16 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-2009 The OpenLDAP Foundation.   * Copyright 1998-2007 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_BEGIN_DECL Line 44  LDAP_BEGIN_DECL
 typedef pthread_t               ldap_int_thread_t;  typedef pthread_t               ldap_int_thread_t;
 typedef pthread_mutex_t         ldap_int_thread_mutex_t;  typedef pthread_mutex_t         ldap_int_thread_mutex_t;
 typedef pthread_cond_t          ldap_int_thread_cond_t;  typedef pthread_cond_t          ldap_int_thread_cond_t;
 typedef pthread_key_t           ldap_int_thread_key_t;  
   
 #define ldap_int_thread_equal(a, b)     pthread_equal((a), (b))  #define ldap_int_thread_equal(a, b)     pthread_equal((a), (b))
   
Line 80  LDAP_END_DECL Line 79  LDAP_END_DECL
   
 #if defined( HAVE_MACH_CTHREADS_H )  #if defined( HAVE_MACH_CTHREADS_H )
 #       include <mach/cthreads.h>  #       include <mach/cthreads.h>
 #elif defined( HAVE_CTHREADS_H )  #elif defined( HAVE_CTHREAD_H
 #       include <cthreads.h>  #       include <cthreads.h>
 #endif  #endif
   
Line 89  LDAP_BEGIN_DECL Line 88  LDAP_BEGIN_DECL
 typedef cthread_t               ldap_int_thread_t;  typedef cthread_t               ldap_int_thread_t;
 typedef struct mutex            ldap_int_thread_mutex_t;  typedef struct mutex            ldap_int_thread_mutex_t;
 typedef struct condition        ldap_int_thread_cond_t;  typedef struct condition        ldap_int_thread_cond_t;
 typedef cthread_key_t           ldap_int_thread_key_t;  
   
 LDAP_END_DECL  LDAP_END_DECL
   
Line 108  LDAP_BEGIN_DECL Line 106  LDAP_BEGIN_DECL
 typedef pth_t           ldap_int_thread_t;  typedef pth_t           ldap_int_thread_t;
 typedef pth_mutex_t     ldap_int_thread_mutex_t;  typedef pth_mutex_t     ldap_int_thread_mutex_t;
 typedef pth_cond_t      ldap_int_thread_cond_t;  typedef pth_cond_t      ldap_int_thread_cond_t;
 typedef pth_key_t       ldap_int_thread_key_t;  
   
 #if 0  #if 0
 #define LDAP_THREAD_HAVE_RDWR 1  #define LDAP_THREAD_HAVE_RDWR 1
Line 132  LDAP_BEGIN_DECL Line 129  LDAP_BEGIN_DECL
 typedef thread_t                ldap_int_thread_t;  typedef thread_t                ldap_int_thread_t;
 typedef mutex_t                 ldap_int_thread_mutex_t;  typedef mutex_t                 ldap_int_thread_mutex_t;
 typedef cond_t                  ldap_int_thread_cond_t;  typedef cond_t                  ldap_int_thread_cond_t;
 typedef thread_key_t    ldap_int_thread_key_t;  
   
 #define HAVE_REENTRANT_FUNCTIONS 1  #define HAVE_REENTRANT_FUNCTIONS 1
   
Line 185  LDAP_BEGIN_DECL Line 181  LDAP_BEGIN_DECL
 typedef unsigned long   ldap_int_thread_t;  typedef unsigned long   ldap_int_thread_t;
 typedef HANDLE  ldap_int_thread_mutex_t;  typedef HANDLE  ldap_int_thread_mutex_t;
 typedef HANDLE  ldap_int_thread_cond_t;  typedef HANDLE  ldap_int_thread_cond_t;
 typedef DWORD   ldap_int_thread_key_t;  
   
 LDAP_END_DECL  LDAP_END_DECL
   
Line 206  LDAP_BEGIN_DECL Line 201  LDAP_BEGIN_DECL
 typedef int                     ldap_int_thread_t;  typedef int                     ldap_int_thread_t;
 typedef int                     ldap_int_thread_mutex_t;  typedef int                     ldap_int_thread_mutex_t;
 typedef int                     ldap_int_thread_cond_t;  typedef int                     ldap_int_thread_cond_t;
 typedef int                     ldap_int_thread_key_t;  
   
 #define LDAP_THREAD_HAVE_TPOOL 1  #define LDAP_THREAD_HAVE_TPOOL 1
 typedef int                     ldap_int_thread_pool_t;  typedef int                     ldap_int_thread_pool_t;

Removed from v.1.20.2.7  
changed lines
  Added in v.1.25


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org