aboutsummaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-12-02 02:36:13 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-12-02 02:36:13 +0000
commitea8fe575cd61bea204454c5410435d4d9bf3c124 (patch)
treed5d66316b5e00334b0b140dfaf8cd34988eb73f8 /include/unistd.h
parent780523024c9bf81c3f67ac30efdc3f24d1ef444d (diff)
downloadsrc-ea8fe575cd61bea204454c5410435d4d9bf3c124.tar.gz
src-ea8fe575cd61bea204454c5410435d4d9bf3c124.zip
barrier and spin_lock had already been implemented in libpthread and
libthr for a long time, set both _POSIX_BARRIERS and _POSIX_SPIN_LOCKS to 200112L.
Notes
Notes: svn path=/head/; revision=153005
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 9bc7af71e27f..1568e06851e0 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -103,12 +103,12 @@ typedef __useconds_t useconds_t;
* the POSIX standard; however, if the relevant sysconf() function
* returns -1, the functions may be stubbed out.
*/
-#define _POSIX_BARRIERS -1
+#define _POSIX_BARRIERS 200112L
#define _POSIX_READER_WRITER_LOCKS 200112L
#define _POSIX_REGEXP 1
#define _POSIX_SHELL 1
#define _POSIX_SPAWN -1
-#define _POSIX_SPIN_LOCKS -1
+#define _POSIX_SPIN_LOCKS 200112L
#define _POSIX_THREAD_ATTR_STACKADDR 200112L
#define _POSIX_THREAD_ATTR_STACKSIZE 200112L
#define _POSIX_THREAD_CPUTIME -1