2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
17 # Definitions found in pthread.h
19 # Note that this header is not defined prior to the POSIX 1995 & SUSv2
20 # specifications. Therefore, applications which #include it in earlier
21 # environments may reasonably obtain their contents, although such use
22 # would not be conformant to those specifications.
24 # As a result, we only test the newer specifications.
30 type | pthread_t * | pthread.h | POSIX-1995+ SUSv2+
35 value | PTHREAD_SCOPE_PROCESS | int | pthread.h | POSIX-1995+ SUSv2+
36 value | PTHREAD_SCOPE_SYSTEM | int | pthread.h | POSIX-1995+ SUSv2+
41 func | pthread_create |\
43 pthread_t *; const pthread_attr_t *; void *(*)(void *); void * |\
47 func | pthread_self |\
53 func | pthread_attr_getscope |\
55 const pthread_attr_t *; int * |\
59 func | pthread_attr_setscope |\
61 pthread_attr_t *; int |\