Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 .\"
   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
   5 .\" 1.0 of the CDDL.
   6 .\"
   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.
  10 .\"
  11 .\"
  12 .\" Copyright 2015 Joyent, Inc.
  13 .\"
  14 .Dd May 11, 2016
  15 .Dt PSETRUN 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Psetrun ,
  19 .Nm Lsetrun
  20 .Nd run a stopped process or thread
  21 .Sh SYNOPSIS
  22 .Lb libproc

  23 .In libproc.h
  24 .Ft int
  25 .Fo Psetrun
  26 .Fa "struct ps_prochandle *P"
  27 .Fa "int sig"
  28 .Fa "int flags"
  29 .Fc
  30 .Ft int
  31 .Fo Lsetrun
  32 .Fa "struct ps_lwphandle *L"
  33 .Fa "int sig"
  34 .Fa "int flags"
  35 .Fc
  36 .Sh DESCRIPTION
  37 The
  38 .Fn Psetrun
  39 function resumes the stopped process handle
  40 .Fa P
  41 and transitions the process to running.
  42 If


   1 .\"
   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
   5 .\" 1.0 of the CDDL.
   6 .\"
   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.
  10 .\"
  11 .\"
  12 .\" Copyright 2015 Joyent, Inc.
  13 .\"
  14 .Dd May 11, 2016
  15 .Dt PSETRUN 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Psetrun ,
  19 .Nm Lsetrun
  20 .Nd run a stopped process or thread
  21 .Sh LIBRARY
  22 .Lb libproc
  23 .Sh SYNOPSIS
  24 .In libproc.h
  25 .Ft int
  26 .Fo Psetrun
  27 .Fa "struct ps_prochandle *P"
  28 .Fa "int sig"
  29 .Fa "int flags"
  30 .Fc
  31 .Ft int
  32 .Fo Lsetrun
  33 .Fa "struct ps_lwphandle *L"
  34 .Fa "int sig"
  35 .Fa "int flags"
  36 .Fc
  37 .Sh DESCRIPTION
  38 The
  39 .Fn Psetrun
  40 function resumes the stopped process handle
  41 .Fa P
  42 and transitions the process to running.
  43 If