Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Psync.3proc.man.txt
+++ new/usr/src/man/man3proc/Psync.3proc.man.txt
1 1 PSYNC(3PROC) Process Control Library Functions PSYNC(3PROC)
2 2
3 3 NAME
4 4 Psync, Lsync - synchronize cached tracing flags and modifications
5 5
6 -SYNOPSIS
6 +LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 +
9 +SYNOPSIS
8 10 #include <libproc.h>
9 11
10 12 void
11 13 Psync(struct ps_prochandle *P);
12 14
13 15 void
14 16 Lsync(struct ps_lwphandle *L);
15 17
16 18 DESCRIPTION
17 19 The Psync() function synchronizes modifications to the process handle P
18 20 back to the underlying active process. The Psync() function ensures that
19 21 any outstanding process holds, register modifications, signal injections,
20 22 and modifications to the various fault and system call tracing flags are
21 23 taken care of.
22 24
23 25 Normally this function is not required as other library routines take
24 26 care of synchronizing this state out to the process when it is required.
25 27 If the underlying /proc file system routines are used outside of the
26 28 library, calling this function may be required.
27 29
28 30 The Psync() function is only meaningful for active processes. It will do
29 31 nothing on process handles that refer to core files, zombie processes,
30 32 and ELF objects.
31 33
32 34 The Lsync() function is equivalent to the Psync() function, except rather
33 35 than operating on the entire process and its representative thread, it
34 36 instead operates on the thread handle L.
35 37
36 38 INTERFACE STABILITY
37 39 Uncommitted
38 40
39 41 MT-LEVEL
40 42 See LOCKING in libproc(3LIB).
41 43
42 44 SEE ALSO
43 45 libproc(3LIB), Pfault(3PROC), Pputareg(3PROC), Psetfault(3PROC),
44 46 Psetsignal(3PROC), Psetsysentry(3PROC), Psetsysexit(3PROC),
45 47 Psignal(3PROC), Psysentry(3PROC), Psysexit(3PROC), proc(4)
46 48
47 49 illumos May 11, 2016 illumos
↓ open down ↓ |
30 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX