summaryrefslogtreecommitdiff
path: root/include/pthread.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-04-04 10:59:42 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-04-04 10:59:42 +0000
commitedb4b26f501b07a4b83bf3fa008ebd518d7a4a9d (patch)
tree8b36598aee4070600f1685b803d948125360cca9 /include/pthread.h
parentf9c7be5357b2e6096b97a896277a1019acf4c4fa (diff)
Notes
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/pthread.h b/include/pthread.h
index b1966623daaf..701328b0a6b7 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -1,6 +1,6 @@
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
- * Copyright (c) 1995 by John Birrell <jb@cimlogic.com.au>
+ * Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -138,7 +138,13 @@ struct pthread_once {
#define PTHREAD_ONCE_INIT { PTHREAD_NEEDS_INIT, NULL }
/*
- * Default attribute arguments.
+ * Static initialization values.
+ */
+#define PTHREAD_MUTEX_INITIALIZER NULL
+#define PTHREAD_COND_INITIALIZER NULL
+
+/*
+ * Default attribute arguments (draft 4, deprecated).
*/
#ifndef PTHREAD_KERNEL
#define pthread_condattr_default NULL