#define PTHREAD_SHARE_PRIVATE USYNC_THREAD
#define PTHREAD_SHARE_PROCESS USYNC_PROCESS
-
-#if !defined(__SunOS_5_6)
/* thread attributes and thread type */
typedef int pthread_attr_t;
typedef thread_t pthread_t;
/* condition variable attributes and condition variable type */
typedef int pthread_condattr_t;
typedef cond_t pthread_cond_t;
-#endif /* ! sunos56 */
LDAP_END_DECL
* *
*******************/
-#if !defined(__SunOS_5_6)
int
pthread_attr_init( pthread_attr_t *attr )
{
{
return( thr_create( NULL, 0, func, arg, *attr, tid ) );
}
-#endif /* ! sunos56 */
void
pthread_yield( void )
thr_yield();
}
-#if !defined(__SunOS_5_6)
void
pthread_exit()
{
{
return( cond_broadcast( cv ) );
}
-#endif /* ! sunos56 */
#elif defined( HAVE_LWP )