MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Threads Debugging Library Functions       tdthrdbsuspend(3CDB)



NAME
     tdthrdbsuspend,  tdthrdbresume  -  suspend  and   resume
     threads in libcdb

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

     tderre tdthrdbsuspend(const tdthrhandlet *thp);


     tderre tdthrdbresume(const tdthrhandlet *thp);


DESCRIPTION
     These operations do nothing other than call  pslstop(3PROC)
     and  pslcontinue(3PROC),  respectively,  on the lightweight
     process (LWP) identified by the thread handle,  thp.  Since
     pslstop()  and  pslcontinue()  must  be  provided  by  the
     caller's  application  (see  procservice(3PROC)),  and  the
     application  (a  debugger-like entity) has full control over
     the stopped state of  the  process  and  all  of  its  LWPs,
     tdthrdbsuspend()  and  tdthrdbresume()  are  unnecessary
     interfaces. They exist only to maintain  interface  compati-
     bility with the past.

RETURN VALUES
     TDOK        The call completed successfully.


     TDBADTH     An invalid thread handle was passed in.


     TDBER     A call to pslstop() or pslcontinue() failed.


     TDER       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       tdthrdbsuspend(3CDB)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Safe                        
    


SEE ALSO
     libcdb(3LIB), 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 ™