aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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