thr_setconcurrency man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]



thr_setconcurrency(3scl)			      thr_setconcurrency(3scl)

NAME
       thr_setconcurrency  -  Sets  the	 requested  concurrency level for this
       process.

LIBRARY
       SCL Threads Library (libthread.so)

SYNOPSIS
       #include <thread.h>

       int thr_setconcurrency(
			       int level );

PARAMETERS
       Specifies the new requested concurrency level.

DESCRIPTION
       This routine sets the concurrency level value for the calling  thread's
       process.

       The  concurrency	 level	can  be obtained by calling the thr_getconcur‐
       rency(3scl) function.

SCL IMPLEMENTATION NOTES
       thr_setconcurrency(3scl) is implemented by  calling  pthread_setconcur‐
       rency(3).

       Because	the  POSIX threads library on Tru64 UNIX automatically manages
       the concurrency of all threads in a multithreaded process, the  concur‐
       rency value may be ignored by the POSIX thread library. This may result
       in different thread scheduling behaviour to that observed on Solaris.

RETURN VALUES
       If an error condition occurs, this routine  returns  an	integer	 value
       indicating the type of error.

       Additional  error  return  information  may be written to the SCL error
       log.  Refer to scl_error_log(4scl) for details.

       Possible return values are  as  follows:	 Successful  completion.   The
       value  specified	 by  level  is negative.  The value specified by level
       would cause a system resource to be exceeded. Or:

       An internal implementation error occurred. Refer to  the	 SCL  errorlog
       for additional information.

ERRORS
       None.

RELATED INFORMATION
       Functions:     pthread_getconcurrency(3),    pthread_setconcurrency(3),
       scl_intro(3scl), scl_thread_intro(3scl), thr_getconcurrency(3scl)

       Files: scl_error_log(4scl)

       Manuals: Solaris Compatibility Libraries User's Guide

						      thr_setconcurrency(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net