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.
This commit is contained in:
David Xu 2005-12-02 02:36:13 +00:00
parent 780523024c
commit ea8fe575cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153005

View File

@ -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