Rename static initializer defines for opaque structures so that the

POSIX specified names can be declared in pthread.h.
This commit is contained in:
jb 1998-04-04 10:58:12 +00:00
parent fc00c3e358
commit c34d8f0bcb
3 changed files with 6 additions and 6 deletions

View File

@ -108,7 +108,7 @@ struct pthread_mutex {
/*
* Static mutex initialization values.
*/
#define PTHREAD_MUTEX_INITIALIZER \
#define PTHREAD_MUTEX_STATIC_INITIALIZER \
{ MUTEX_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, \
NULL, { NULL }, MUTEX_FLAGS_INITED }
@ -147,7 +147,7 @@ struct pthread_cond_attr {
/*
* Static cond initialization values.
*/
#define PTHREAD_COND_INITIALIZER \
#define PTHREAD_COND_STATIC_INITIALIZER \
{ COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, COND_FLAGS_INITED }
/*

View File

@ -108,7 +108,7 @@ struct pthread_mutex {
/*
* Static mutex initialization values.
*/
#define PTHREAD_MUTEX_INITIALIZER \
#define PTHREAD_MUTEX_STATIC_INITIALIZER \
{ MUTEX_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, \
NULL, { NULL }, MUTEX_FLAGS_INITED }
@ -147,7 +147,7 @@ struct pthread_cond_attr {
/*
* Static cond initialization values.
*/
#define PTHREAD_COND_INITIALIZER \
#define PTHREAD_COND_STATIC_INITIALIZER \
{ COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, COND_FLAGS_INITED }
/*

View File

@ -108,7 +108,7 @@ struct pthread_mutex {
/*
* Static mutex initialization values.
*/
#define PTHREAD_MUTEX_INITIALIZER \
#define PTHREAD_MUTEX_STATIC_INITIALIZER \
{ MUTEX_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, \
NULL, { NULL }, MUTEX_FLAGS_INITED }
@ -147,7 +147,7 @@ struct pthread_cond_attr {
/*
* Static cond initialization values.
*/
#define PTHREAD_COND_INITIALIZER \
#define PTHREAD_COND_STATIC_INITIALIZER \
{ COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, COND_FLAGS_INITED }
/*