Diff for /libraries/libldap_r/thr_thr.c between versions 1.5.8.1 and 1.5.8.2

version 1.5.8.1, 1999/09/10 20:25:27 version 1.5.8.2, 2000/06/13 17:57:22
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap_r/thr_thr.c,v 1.6 1999/09/08 17:06:30 kdz Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap_r/thr_thr.c,v 1.9 2000/06/13 00:42:13 kurt Exp $ */
 /*  /*
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA   * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms are permitted only   * Redistribution and use in source and binary forms are permitted only
Line 24 Line 24
  *******************/   *******************/
   
 int  int
 ldap_pvt_thread_initialize( void )  ldap_int_thread_initialize( void )
 {  {
 #ifdef LDAP_THREAD_CONCURRENCY  
         thr_setconcurrency( LDAP_THREAD_CONCURRENCY );  
 #endif  
         return 0;          return 0;
 }  }
   
 int  int
 ldap_pvt_thread_destroy( void )  ldap_int_thread_destroy( void )
 {  {
         return 0;          return 0;
 }  }
   
   #ifdef LDAP_THREAD_HAVE_SETCONCURRENCY
 int  int
 ldap_pvt_thread_set_concurrency(int n)  ldap_pvt_thread_set_concurrency(int n)
 {  {
         return thr_setconcurrency( n );          return thr_setconcurrency( n );
 }  }
   #endif
   
   #ifdef LDAP_THREAD_HAVE_GETCONCURRENCY
 int  int
 ldap_pvt_thread_get_concurrency(void)  ldap_pvt_thread_get_concurrency(void)
 {  {
         return thr_getconcurrency();          return thr_getconcurrency();
 }  }
   #endif
   
 int   int 
 ldap_pvt_thread_create( ldap_pvt_thread_t * thread,   ldap_pvt_thread_create( ldap_pvt_thread_t * thread, 
Line 107  ldap_pvt_thread_cond_broadcast( ldap_pvt Line 108  ldap_pvt_thread_cond_broadcast( ldap_pvt
   
 int   int 
 ldap_pvt_thread_cond_wait( ldap_pvt_thread_cond_t *cond,   ldap_pvt_thread_cond_wait( ldap_pvt_thread_cond_t *cond, 
                           ldap_pvt_thread_mutex_t *mutex )          ldap_pvt_thread_mutex_t *mutex )
 {  {
         return( cond_wait( cond, mutex ) );          return( cond_wait( cond, mutex ) );
 }  }

Removed from v.1.5.8.1  
changed lines
  Added in v.1.5.8.2


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