Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PDESTROY_AGENT(3PROC)  Process Control Library Functions PDESTROY_AGENT(3PROC)
   2 
   3 NAME
   4      Pdestroy_agent - destroy the agent LWP
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      void
  11      Pdestroy_agent(struct ps_prochandle *P);
  12 
  13 DESCRIPTION
  14      The Pdestroy_agent() function removes the agent LWP in P.  The existence
  15      of the agent LWP is reference counted by the library and therefore if
  16      Pcreate_agent(3PROC) has been called multiple times, the Pdestroy_agent()
  17      function must be called an equal number of times.  Upon the last time, it
  18      will destroy the agent LWP.
  19 
  20      Destroying the agent LWP does not change the state of the process
  21      represented by P.
  22 
  23 INTERFACE STABILITY
  24      Uncommitted
  25 
  26 MT-LEVEL
  27      See LOCKING in libproc(3LIB).
   1 PDESTROY_AGENT(3PROC)  Process Control Library Functions PDESTROY_AGENT(3PROC)
   2 
   3 NAME
   4      Pdestroy_agent - destroy the agent LWP
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Pdestroy_agent(struct ps_prochandle *P);
  14 
  15 DESCRIPTION
  16      The Pdestroy_agent() function removes the agent LWP in P.  The existence
  17      of the agent LWP is reference counted by the library and therefore if
  18      Pcreate_agent(3PROC) has been called multiple times, the Pdestroy_agent()
  19      function must be called an equal number of times.  Upon the last time, it
  20      will destroy the agent LWP.
  21 
  22      Destroying the agent LWP does not change the state of the process
  23      represented by P.
  24 
  25 INTERFACE STABILITY
  26      Uncommitted
  27 
  28 MT-LEVEL
  29      See LOCKING in libproc(3LIB).