MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Threads Debugging Library Functions             tdthrtsd(3CDB)



NAME
     tdthrtsd - get a thread's thread-specific data for libcdb
     library of interfaces

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

     tderre tdthrtsd(const tdthrhandlet, const threadkeyt key, void *datapp);


DESCRIPTION
     The tdthrtsd() function returns in  *datapp  the  thread-
     specific  data pointer for the thread identified by thp and
     the thread-specific data key key. This  is  the  same  value
     that   the   thread   thp   would   obtain   if  it  called
     thrgetspecific(3C).


     To find all the thread-specific data keys in use in a  given
     target process, call tdtatsditer(3CDB).

RETURN VALUES
     TDOK       The call completed successfully.


     TDBADTH    An invalid thread handle was passed in.


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


     TDER      A libcdb internal error occurred.


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



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Safe                        
    


SEE ALSO




SunOS 5.11          Last change: 20 Oct 1998                    1






Threads Debugging Library Functions             tdthrtsd(3CDB)



     libcdb(3LIB),  tdtatsditer(3CDB),  thrgetspecific(3C),
     attributes(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 ™