Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libproc/common/libproc.h
          +++ new/usr/src/lib/libproc/common/libproc.h
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   *
  26   26   * Portions Copyright 2007 Chad Mynhier
  27   27   * Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
  28      - * Copyright 2015, Joyent, Inc.
       28 + * Copyright 2018, Joyent, Inc.
  29   29   * Copyright (c) 2013 by Delphix. All rights reserved.
  30   30   */
  31   31  
  32   32  /*
  33   33   * Interfaces available from the process control library, libproc.
  34   34   */
  35   35  
  36   36  #ifndef _LIBPROC_H
  37   37  #define _LIBPROC_H
  38   38  
↓ open down ↓ 390 lines elided ↑ open up ↑
 429  429  extern int Plwp_setasrs(struct ps_prochandle *, lwpid_t, const asrset_t);
 430  430  #endif  /* __sparcv9 */
 431  431  
 432  432  #endif  /* __sparc */
 433  433  
 434  434  #if defined(__i386) || defined(__amd64)
 435  435  extern  int     Pldt(struct ps_prochandle *, struct ssd *, int);
 436  436  extern  int     proc_get_ldt(pid_t, struct ssd *, int);
 437  437  #endif  /* __i386 || __amd64 */
 438  438  
      439 +extern int Plwp_getname(struct ps_prochandle *, lwpid_t, char *, size_t);
 439  440  extern int Plwp_getpsinfo(struct ps_prochandle *, lwpid_t, lwpsinfo_t *);
 440  441  extern int Plwp_getspymaster(struct ps_prochandle *, lwpid_t, psinfo_t *);
 441  442  
 442  443  extern int Plwp_stack(struct ps_prochandle *, lwpid_t, stack_t *);
 443  444  extern int Plwp_main_stack(struct ps_prochandle *, lwpid_t, stack_t *);
 444  445  extern int Plwp_alt_stack(struct ps_prochandle *, lwpid_t, stack_t *);
 445  446  
 446  447  /*
 447  448   * LWP iteration interface; iterate over all active LWPs.
 448  449   */
↓ open down ↓ 330 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX