thr_getconcurrency(3scl)thr_getconcurrency(3scl)NAMEthr_getconcurrency - Gets the requested concurrency level for this
process.
LIBRARY
SCL Threads Library (libthread.so)
SYNOPSIS
#include <thread.h>
int thr_getconcurrency( void );
PARAMETERS
None.
DESCRIPTION
This routine returns the concurrency level value for the calling
thread's process.
SCL IMPLEMENTATION NOTESthr_getconcurrency(3scl) is implemented by calling pthread_getconcur‐
rency(3).
The concurrency level can be set by calling the thr_setconcur‐
rency(3scl) function.
Because the POSIX threads library on Tru64 UNIX automatically manages
the concurrency of all threads in a multithreaded process, this value
may be ignored by the POSIX thread library. This may result in differ‐
ent thread scheduling behaviour to that observed on Solaris.
RETURN VALUES
This routine always returns the integer value of this process's
requested concurrency level.
ERRORS
None.
RELATED INFORMATION
Functions: pthread_getconcurrency(3), pthread_setconcurrency(3),
scl_intro(3scl), scl_thread_intro(3scl), thr_setconcurrency(3scl)
Manuals: Solaris Compatibility Libraries User's Guide
thr_getconcurrency(3scl)