.SH SYNOPSIS
.nf
.B #include <pthread.h>
-
+.PP
.BI "int pthread_attr_setscope(pthread_attr_t *" attr \
", int " scope );
.BI "int pthread_attr_getscope(const pthread_attr_t *" attr \
.BR PTHREAD_SCOPE_SYSTEM ,
but not
.BR PTHREAD_SCOPE_PROCESS .
-
+.PP
On systems that support multiple contention scopes, then,
in order for the parameter setting made by
.BR pthread_attr_setscope ()
.I attr
to
.BR PTHREAD_EXPLICIT_SCHED .
-
+.PP
The
.BR pthread_attr_getscope ()
function returns the contention scope attribute of the
This is the case on Linux for the obsolete LinuxThreads implementation
and the modern NPTL implementation,
which are both 1:1 threading implementations.
-
+.PP
POSIX.1 specifies that the default contention scope is
implementation-defined.
.SH SEE ALSO