--- include/ldap_pvt_thread.h 1999/05/27 04:22:04 1.12 +++ include/ldap_pvt_thread.h 1999/09/10 20:25:22 1.12.8.1 @@ -1,3 +1,4 @@ +/* $OpenLDAP: pkg/ldap/include/ldap_pvt_thread.h,v 1.14 1999/08/30 23:17:01 kdz Exp $ */ /* * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA * All rights reserved. @@ -67,6 +68,24 @@ typedef struct condition ldap_pvt_thread LDAP_END_DECL +#elif defined( HAVE_GNU_PTH ) +/*********************************** + * * + * thread definitions for GNU Pth * + * * + ***********************************/ + +#include + +LDAP_BEGIN_DECL + +typedef pth_t ldap_pvt_thread_t; +typedef pth_mutex_t ldap_pvt_thread_mutex_t; +typedef pth_cond_t ldap_pvt_thread_cond_t; + +LDAP_END_DECL + + #elif defined( HAVE_THR ) /******************************************** * *