summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/pthread_private.h
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-06-09 07:06:55 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-06-09 07:06:55 +0000
commit26ab430a80ba9c64b06a358f6b69d491a912f54a (patch)
tree326ccff0219881f74d23ccd1ab58fd5998127dba /lib/libc_r/uthread/pthread_private.h
parent38ff7e03c62fee150692468534efbd5545d77c4a (diff)
sync with freebsd
Diffstat (limited to 'lib/libc_r/uthread/pthread_private.h')
-rw-r--r--lib/libc_r/uthread/pthread_private.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index 7643b99a19c..ef7b7e838e2 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/uthread/pthread_private.h
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $OpenBSD: pthread_private.h,v 1.14 1999/05/26 00:18:21 d Exp $
+ * $OpenBSD: pthread_private.h,v 1.15 1999/06/09 07:06:54 d Exp $
*
*/
@@ -214,7 +214,8 @@ struct pthread_mutex {
*/
#define PTHREAD_MUTEX_STATIC_INITIALIZER \
{ PTHREAD_MUTEX_DEFAULT, PTHREAD_PRIO_NONE, TAILQ_INITIALIZER, \
- NULL, { NULL }, MUTEX_FLAGS_INITED, 0, 0, 0, TAILQ_INITIALIZER }
+ NULL, { NULL }, 0, 0, 0, 0, TAILQ_INITIALIZER, \
+ _SPINLOCK_INITIALIZER }
struct pthread_mutex_attr {
enum pthread_mutextype m_type;
@@ -260,8 +261,8 @@ struct pthread_cond_attr {
* Static cond initialization values.
*/
#define PTHREAD_COND_STATIC_INITIALIZER \
- { COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, NULL, \
- COND_FLAGS_INITED }
+ { COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, NULL, \
+ 0, _SPINLOCK_INITIALIZER }
/*
* Cleanup definitions.