[Previous] [Contents] [Next]

pthread_attr_getscope()

Get thread contention scope attribute

Synopsis:

#include <pthread.h>

int pthread_attr_getscope(
                 const pthread_attr_t *attr,
                 int *scope );

Library:

libc

Description:

The pthread_attr_getscope() function gets the thread contention scope attribute from the thread attribute object attr and returns it in scope.

See the pthread_attr_setscope() function for the possible values of scope.

Returns:

EOK
Success.

Classification:

POSIX 1003.1 (Threads)

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

pthread_attr_setscope(), pthread_attr_init(), pthread_create().


[Previous] [Contents] [Next]