Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSYNC(3PROC)           Process Control Library Functions          PSYNC(3PROC)
   2 
   3 NAME
   4      Psync, Lsync - synchronize cached tracing flags and modifications
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      void
  11      Psync(struct ps_prochandle *P);
  12 
  13      void
  14      Lsync(struct ps_lwphandle *L);
  15 
  16 DESCRIPTION
  17      The Psync() function synchronizes modifications to the process handle P
  18      back to the underlying active process.  The Psync() function ensures that
  19      any outstanding process holds, register modifications, signal injections,
  20      and modifications to the various fault and system call tracing flags are
  21      taken care of.
  22 
  23      Normally this function is not required as other library routines take
  24      care of synchronizing this state out to the process when it is required.
  25      If the underlying /proc file system routines are used outside of the
  26      library, calling this function may be required.
  27 
   1 PSYNC(3PROC)           Process Control Library Functions          PSYNC(3PROC)
   2 
   3 NAME
   4      Psync, Lsync - synchronize cached tracing flags and modifications
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Psync(struct ps_prochandle *P);
  14 
  15      void
  16      Lsync(struct ps_lwphandle *L);
  17 
  18 DESCRIPTION
  19      The Psync() function synchronizes modifications to the process handle P
  20      back to the underlying active process.  The Psync() function ensures that
  21      any outstanding process holds, register modifications, signal injections,
  22      and modifications to the various fault and system call tracing flags are
  23      taken care of.
  24 
  25      Normally this function is not required as other library routines take
  26      care of synchronizing this state out to the process when it is required.
  27      If the underlying /proc file system routines are used outside of the
  28      library, calling this function may be required.
  29