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/Pdestroy_agent.3proc.man.txt
+++ new/usr/src/man/man3proc/Pdestroy_agent.3proc.man.txt
1 1 PDESTROY_AGENT(3PROC) Process Control Library Functions PDESTROY_AGENT(3PROC)
2 2
3 3 NAME
4 4 Pdestroy_agent - destroy the agent LWP
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 Pdestroy_agent(struct ps_prochandle *P);
12 14
13 15 DESCRIPTION
14 16 The Pdestroy_agent() function removes the agent LWP in P. The existence
15 17 of the agent LWP is reference counted by the library and therefore if
16 18 Pcreate_agent(3PROC) has been called multiple times, the Pdestroy_agent()
17 19 function must be called an equal number of times. Upon the last time, it
18 20 will destroy the agent LWP.
19 21
20 22 Destroying the agent LWP does not change the state of the process
21 23 represented by P.
22 24
23 25 INTERFACE STABILITY
24 26 Uncommitted
25 27
26 28 MT-LEVEL
27 29 See LOCKING in libproc(3LIB).
28 30
29 31 SEE ALSO
30 32 libproc(3LIB), Pcreate_agent(3PROC)
31 33
32 34 illumos May 11, 2016 illumos
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX