Remove pthread_attr_getscope() and pthread_attr_setscope().

This commit is contained in:
jruoho 2010-07-07 08:41:11 +00:00
parent 69ff1aa9c5
commit 7f32058c79
1 changed files with 3 additions and 22 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pthread_attr.3,v 1.11 2009/10/05 23:37:01 rmind Exp $
.\" $NetBSD: pthread_attr.3,v 1.12 2010/07/07 08:41:11 jruoho Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -72,9 +72,7 @@
.Nm pthread_attr_setschedparam ,
.Nm pthread_attr_getschedparam
.Nm pthread_attr_setschedpolicy ,
.Nm pthread_attr_getschedpolicy ,
.Nm pthread_attr_setscope ,
.Nm pthread_attr_getscope
.Nm pthread_attr_getschedpolicy
.Nd thread attribute operations
.Sh LIBRARY
.Lb libpthread
@ -112,10 +110,6 @@
.Fn pthread_attr_setschedpolicy "pthread_attr_t *attr" "int policy"
.Ft int
.Fn pthread_attr_getschedpolicy "const pthread_attr_t * restrict attr" "int * restrict policy"
.Ft int
.Fn pthread_attr_setscope "pthread_attr_t *attr" "int contentionscope"
.Ft int
.Fn pthread_attr_getscope "const pthread_attr_t * restrict attr" "int * restrict contentionscope"
.Sh DESCRIPTION
Thread attributes are used to specify parameters to
.Fn pthread_create .
@ -228,17 +222,6 @@ Invalid value for
Invalid or unsupported value for
.Fa policy .
.El
.Pp
.Fn pthread_attr_setscope
may fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
.Fa attr .
.It Bq Er ENOTSUP
Invalid or unsupported value for
.Fa contentionscope .
.El
.Sh SEE ALSO
.Xr pthread_create 3 ,
.Xr pthread_join 3
@ -258,9 +241,7 @@ Invalid or unsupported value for
and
.Fn pthread_attr_getschedparam
.Fn pthread_attr_setschedpolicy ,
.Fn pthread_attr_getschedpolicy ,
.Fn pthread_attr_setscope ,
and
.Fn pthread_attr_getscope
.Fn pthread_attr_getschedpolicy
conform to
.St -p1003.1-96 .