Print this page
OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/iso/signal_iso.h
          +++ new/usr/src/uts/common/sys/iso/signal_iso.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
       25 + * Copyright 2015, Joyent, Inc.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   29  /*        All Rights Reserved   */
  29   30  
  30   31  /*
  31   32   * An application should not include this header directly.  Instead it
  32   33   * should be included only through the inclusion of other Sun headers.
  33   34   *
  34   35   * The contents of this header is limited to identifiers specified in the
↓ open down ↓ 53 lines elided ↑ open up ↑
  88   89  #define SIGTHAW 35      /* special signal used by CPR */
  89   90  #define SIGCANCEL 36    /* reserved signal for thread cancellation */
  90   91  #define SIGLOST 37      /* resource lost (eg, record-lock lost) */
  91   92  #define SIGXRES 38      /* resource control exceeded */
  92   93  #define SIGJVM1 39      /* reserved signal for Java Virtual Machine */
  93   94  #define SIGJVM2 40      /* reserved signal for Java Virtual Machine */
  94   95  #define SIGINFO 41      /* information request */
  95   96  
  96   97  /* insert new signals here, and move _SIGRTM* appropriately */
  97   98  #define _SIGRTMIN 42    /* first (highest-priority) realtime signal */
  98      -#define _SIGRTMAX 73    /* last (lowest-priority) realtime signal */
       99 +#define _SIGRTMAX 74    /* last (lowest-priority) realtime signal */
  99  100  extern long _sysconf(int);      /* System Private interface to sysconf() */
 100  101  #define SIGRTMIN ((int)_sysconf(_SC_SIGRT_MIN)) /* first realtime signal */
 101  102  #define SIGRTMAX ((int)_sysconf(_SC_SIGRT_MAX)) /* last realtime signal */
 102  103  
 103  104  #if     defined(__cplusplus)
 104  105  
 105  106  typedef void SIG_FUNC_TYP(int);
 106  107  typedef SIG_FUNC_TYP *SIG_TYP;
 107  108  #define SIG_PF SIG_TYP
 108  109  
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX