Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PLWP_GETASRS(3PROC)    Process Control Library Functions   PLWP_GETASRS(3PROC)
   2 
   3 NAME
   4      Plwp_getasrs, Plwp_setasrs - get and set SPARCv9 ancillary state
   5      registers
   6 
   7 SYNOPSIS
   8      Process Control Library (libproc, -lproc)


   9      #include <libproc.h>
  10 
  11      int
  12      Plwp_getasrs(struct ps_prochandle *P, lwpid_t lwpid, asrset_t asrs);
  13 
  14      int
  15      Plwp_setasrs(struct ps_prochandle *P, lwpid_t lwpid,
  16          const asrset_t asrs);
  17 
  18 DESCRIPTION
  19      The Plwp_getasrs() and Plwp_setasrs() functions get and set the ancillary
  20      thread-specific register set of the thread lwpid in the process handle P.
  21 
  22      The ancillary state registers are only present on 64-bit SPARCv9
  23      processes.  They contain information that is specific to the platform and
  24      are not included in the information obtained through functions such as
  25      Plwp_getregs(3PROC), Plwp_getfpregs(3PROC), and Plwp_getxregs(3PROC).
  26 
  27      The Plwp_getasrs() function reads the ancillary registers into asrs,
  28      while the Plwp_setasrs() sets the thread's ancillary registers to the


   1 PLWP_GETASRS(3PROC)    Process Control Library Functions   PLWP_GETASRS(3PROC)
   2 
   3 NAME
   4      Plwp_getasrs, Plwp_setasrs - get and set SPARCv9 ancillary state
   5      registers
   6 
   7 LIBRARY
   8      Process Control Library (libproc, -lproc)
   9 
  10 SYNOPSIS
  11      #include <libproc.h>
  12 
  13      int
  14      Plwp_getasrs(struct ps_prochandle *P, lwpid_t lwpid, asrset_t asrs);
  15 
  16      int
  17      Plwp_setasrs(struct ps_prochandle *P, lwpid_t lwpid,
  18          const asrset_t asrs);
  19 
  20 DESCRIPTION
  21      The Plwp_getasrs() and Plwp_setasrs() functions get and set the ancillary
  22      thread-specific register set of the thread lwpid in the process handle P.
  23 
  24      The ancillary state registers are only present on 64-bit SPARCv9
  25      processes.  They contain information that is specific to the platform and
  26      are not included in the information obtained through functions such as
  27      Plwp_getregs(3PROC), Plwp_getfpregs(3PROC), and Plwp_getxregs(3PROC).
  28 
  29      The Plwp_getasrs() function reads the ancillary registers into asrs,
  30      while the Plwp_setasrs() sets the thread's ancillary registers to the