*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> pthread_getconcurrency (3)              
Title
Content
Arch
Section
 

pthread_getconcurrency(3)

Contents


NAME    [Toc]    [Back]

       pthread_getconcurrency  - Obtains the value of the concurrency
 level global variable for this process

SYNOPSIS    [Toc]    [Back]

       #include <pthread.h>

       int pthread_getconcurrency(
               void );

LIBRARY    [Toc]    [Back]

       DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       IEEE  Std  1003.1c-1995,  POSIX System Application Program
       Interface

PARAMETERS    [Toc]    [Back]

       None

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Functions: pthread_setconcurrency(3)

       Manuals: Guide to DECthreads and Programmer's Guide



                                        pthread_getconcurrency(3)
[ Back ]
 Similar pages
Name OS Title
pthread_setconcurrency Tru64 Changes the value of the concurrency level global variable for this process
pthread_getconcurrency OpenBSD get or set level of concurrency
pthread_setconcurrency OpenBSD get or set level of concurrency
pthread_getconcurrency FreeBSD get or set level of concurrency
pthread_setconcurrency FreeBSD get or set level of concurrency
page_size Tru64 Global Variable: Is the virtual page size
lbolt Tru64 Global Variable: Is a periodic wakeup mechanism
hz Tru64 Global Variable: Stores the number of clock ticks per second
vars IRIX Perl pragma to predeclare global variable names
cpu Tru64 Global Variable: Provides a unique logical processor-type family identifier
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service