2000-07-19 16:18:31 +02:00
|
|
|
/* DO NOT EDIT THIS FILE.
|
|
|
|
|
|
|
|
It has been auto-edited by fixincludes from:
|
|
|
|
|
|
|
|
"fixinc/tests/inc/pthread.h"
|
|
|
|
|
|
|
|
This had to be done to correct non-standard usages in the
|
|
|
|
original, manufacturer supplied header file. */
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
|
|
|
|
|
2000-08-23 16:13:18 +02:00
|
|
|
#if defined( AIX_PTHREAD_CHECK )
|
|
|
|
#define PTHREAD_MUTEX_INITIALIZER \
|
|
|
|
{...init stuff...}
|
|
|
|
#endif /* AIX_PTHREAD_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( PTHREAD_PAGE_SIZE_CHECK )
|
|
|
|
extern int __page_size;
|
|
|
|
#endif /* PTHREAD_PAGE_SIZE_CHECK */
|
2001-05-26 17:47:11 +02:00
|
|
|
|
|
|
|
|
2001-07-17 05:59:18 +02:00
|
|
|
#if defined( SOLARIS_MUTEX_INIT_CHECK )
|
2001-05-26 17:47:11 +02:00
|
|
|
#ident "@(#)pthread.h 1.26 98/04/12 SMI"
|
2001-07-17 05:59:18 +02:00
|
|
|
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
|
|
|
|
#define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, 0}
|
|
|
|
#else
|
|
|
|
#define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, {0}}
|
|
|
|
#endif
|
|
|
|
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
|
|
|
|
#define PTHREAD_COND_INITIALIZER {{{0}, 0}, 0} /* DEFAULTCV */
|
|
|
|
#else
|
|
|
|
#define PTHREAD_COND_INITIALIZER {{{0}, 0}, {0}} /* DEFAULTCV */
|
|
|
|
#endif
|
|
|
|
#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}}
|
|
|
|
#endif /* SOLARIS_MUTEX_INIT_CHECK */
|
2002-05-22 04:55:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
#if defined( THREAD_KEYWORD_CHECK )
|
2002-05-22 22:02:16 +02:00
|
|
|
extern int pthread_create (pthread_t *__restrict __thr,
|
2002-05-22 04:55:06 +02:00
|
|
|
extern int pthread_kill (pthread_t __thr, int __signo);
|
|
|
|
#endif /* THREAD_KEYWORD_CHECK */
|