MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Threads Debugging Library Functions     tdtagetnthreads(3CDB)



NAME
     tdtagetnthreads - gets the total number of threads  in  a
     process for libcdb

SYNOPSIS
     cc [ flag... ] file... -lcdb [ library... ]
     #include 
     #include 

     tderre tdtagetnthreads(const tdthragentt *tap, int *nthreadp);


DESCRIPTION
     The tdtagetnthreads() function returns the  total  number
     of  threads  in  process tap, including any system threads.
     System threads are those created by libc or libcdb  on  its
     own   behalf.   The   number  of  threads  is  written  into
     *nthreadp.

RETURN VALUES
     TDOK       The call completed successfully.


     TDBADTA    An invalid internal process  handle  was  passed
                 in.


     TDBADPH    There is a NUL external process handle  associ-
                 ated with this internal process handle.


     TDBER    A call to one of the imported interface routines
                 failed.


     TDER      The nthreadp argument was NUL,  or  a  libcdb
                 internal error occurred.


ATRIBUTES
     See attributes(5) for description of  the  following  attri-
     butes:













SunOS 5.11          Last change: 20 Oct 1998                    1






Threads Debugging Library Functions     tdtagetnthreads(3CDB)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Safe                        
    


SEE ALSO
     libcdb(3LIB), attributes(5), threads(5)














































SunOS 5.11          Last change: 20 Oct 1998                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™