aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-02-28 17:52:33 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-02-28 17:52:33 +0000
commit1bdbd705993eab79189dff87b69a9cff5c69b17e (patch)
tree93354adb0a612a635964c8498072087760a0f93b /include
parent3f3af790f95027d0c3b859a53eb82ef5d00dc4f8 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/pthread.h2
-rw-r--r--include/unistd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 8b592231740e..8078bcb69828 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -69,7 +69,7 @@
#define PTHREAD_EXPLICIT_SCHED 0
/*
- * Flags for read/write lock attributes
+ * Values for process shared/private attributes.
*/
#define PTHREAD_PROCESS_PRIVATE 0
#define PTHREAD_PROCESS_SHARED 1
diff --git a/include/unistd.h b/include/unistd.h
index 4c26a042674e..0d20027f8d56 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -112,7 +112,7 @@ typedef __useconds_t useconds_t;
#define _POSIX_THREAD_PRIO_INHERIT 200112L
#define _POSIX_THREAD_PRIO_PROTECT 200112L
#define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L
-#define _POSIX_THREAD_PROCESS_SHARED -1
+#define _POSIX_THREAD_PROCESS_SHARED 200112L
#define _POSIX_THREAD_SAFE_FUNCTIONS -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
#define _POSIX_THREADS 200112L