aboutsummaryrefslogtreecommitdiffstats
path: root/include/pthread.h
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/pthread.h
parent3f3af790f95027d0c3b859a53eb82ef5d00dc4f8 (diff)
downloadsrc-1bdbd705993eab79189dff87b69a9cff5c69b17e.tar.gz
src-1bdbd705993eab79189dff87b69a9cff5c69b17e.zip
Implement process-shared locks support for libthr.so.3, without
breaking the ABI. Special value is stored in the lock pointer to indicate shared lock, and offline page in the shared memory is allocated to store the actual lock. Reviewed by: vangyzen (previous version) Discussed with: deischen, emaste, jhb, rwatson, Martin Simmons <martin@lispworks.com> Tested by: pho Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=296162
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h2
1 files changed, 1 insertions, 1 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