osf1 man page for pthread_getconcurrency

Query: pthread_getconcurrency

OS: osf1

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pthread_getconcurrency(3)				     Library Functions Manual					 pthread_getconcurrency(3)

NAME
pthread_getconcurrency - Obtains the value of the concurrency level global variable for this process.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h> int pthread_getconcurrency( void);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: IEEE Std 1003.1c-1995, POSIX System Application Program Interface
PARAMETERS
None
DESCRIPTION
This routine obtains and returns the value of the "concurrency level" global setting for the calling thread's process. Because DECthreads automatically manages the concurrency of all threads in a multithreaded process, DECthreads ignores this concurrency level value. The concurrency level value has no effect on the behavior of a multithreaded program that uses DECthreads. This routine is provided for Single UNIX Specification, Version 2, source code compatibility and has no other effect when called. The initial concurrency level is zero (0), indicating that DECthreads controls the concurrency level. The concurrency level can be set using the pthread_setconcurrency(3) routine.
RETURN VALUES
This routine always returns the value of this process's concurrency level global variable. If this process has never called the pthread_setconcurrency(3) routine, this routine returns zero (0).
ERRORS
None
RELATED INFORMATION
Functions: pthread_setconcurrency(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_getconcurrency(3)
Related Man Pages
pthread_getconcurrency(3c) - opensolaris
pthread_getconcurrency(3) - linux
pthread_getconcurrency(3) - debian
pthread_setconcurrency(3) - debian
pthread_setconcurrency(3) - osf1
Similar Topics in the Unix Linux Community
concurrency issue while Accessing Mail Box from shell script
Hazard Reduction in Scala Actors
Open-source projects to learn concurrency-managed network programming in Unix?