2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2015 Joyent, Inc.
20 .Nd run a stopped process or thread
26 .Fa "struct ps_prochandle *P"
32 .Fa "struct ps_lwphandle *L"
39 function resumes the stopped process handle
41 and transitions the process to running.
46 function causes the signal to be delivered.
49 for a list of valid signal identifiers.
53 member modifies the behavior of the resumed handle.
54 The following values may be combined by a bitwise-inclusive-OR:
55 .Bl -tag -width Dv -offset indent
57 Clears the current signal, if any.
59 Clears the current fault, if any.
61 Indicates that the thread should single-step over the next machine
62 instruction and upon completion, inject a trap.
63 For the specific mechanics of single-stepping and what traps or signals will be
69 Indicates that the thread should abort the system call that it is
71 This is only valid if the thread is stopped because it is asleep or right before
73 This will cause the system call to return
84 request takes priority, and it will be treated as though
86 was passed the argument
89 When the process is resumed all extent tracing flags and register
90 changes will be synchronized with the process.
91 For more information on resuming a thread see the
98 function is only valid for active processes.
99 It will fail on process handles that refer to core files, zombie processes, and
104 function is equivalent to the
106 function, except rather than operating on a process it operates on a
109 causes the specified thread,
114 causes all threads in the process to resume.
116 Upon successful completion, the
126 is set to indicate the error.
128 For a full list of possible errors see the
137 functions will fail if:
142 is not currently stopped or it is not stopped due to an event of
143 interest, a directed stop, or it is asleep in a system call.
145 .Sh INTERFACE STABILITY