Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ thr_getconcurrency(3thread) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

thr_create(3thread)

thr_setconcurrency(3thread)

thread(3thread)






       thr_getconcurrency(3thread)              thr_getconcurrency(3thread)


       NAME
             thr_getconcurrency - retrieve the level of concurrency

       SYNOPSIS
             cc [options] -Kthread file
             #include <thread.h>
             int thr_getconcurrency(void);

       DESCRIPTION
             thr_getconcurrency returns the level, or degree, of
             concurrency, which is the number of lightweight processes
             (LWPs) the user has requested to be available for running
             multiplexed threads.  This is the number from the most recent
             thr_setconcurrency call (or zero if there has been no call)
             plus the number of threads created with the THR_INCR_CONC flag
             set since the last call to thr_setconcurrency.  The return
             value does not reflect the number of LWPs actually available.

          Return Values
             thr_getconcurrency returns the degree of concurrency as
             described above.

          Errors
             thr_getconcurrency cannot fail.

       REFERENCES
             thr_create(3thread), thr_setconcurrency(3thread),
             thread(3thread)




















                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026