summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-12-02 02:36:13 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-12-02 02:36:13 +0000
commit70d497df15a2a7c30d76bf05580b46beb310868a (patch)
treed5d66316b5e00334b0b140dfaf8cd34988eb73f8 /include/unistd.h
parent066797b23f871ca353b8839366d5684a83a18b1a (diff)
downloadFreeBSD-src-70d497df15a2a7c30d76bf05580b46beb310868a.zip
FreeBSD-src-70d497df15a2a7c30d76bf05580b46beb310868a.tar.gz
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.
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 9bc7af7..1568e06 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
OpenPOWER on IntegriCloud