< prev index next >

src/java.base/unix/native/include/jvm_md.h

Print this page




  66 #define JVM_F_OK    F_OK
  67 
  68 /*
  69  * File I/O
  70  */
  71 
  72 #include <sys/types.h>
  73 #include <sys/stat.h>
  74 #include <fcntl.h>
  75 #include <errno.h>
  76 #include <signal.h>
  77 
  78 /* Signals */
  79 
  80 #include <sys/socket.h>   // for socklen_t
  81 
  82 #define JVM_SIGINT     SIGINT
  83 #define JVM_SIGTERM    SIGTERM
  84 
  85 #define BREAK_SIGNAL     SIGQUIT           /* Thread dumping support.    */

  86 #define ASYNC_SIGNAL     SIGJVM2           /* Event-based suspend/resume support */

  87 #define SHUTDOWN1_SIGNAL SIGHUP            /* Shutdown Hooks support.    */
  88 #define SHUTDOWN2_SIGNAL SIGINT
  89 #define SHUTDOWN3_SIGNAL SIGTERM
  90 
  91 /* With 1.4.1 libjsig added versioning: used in os_solaris.cpp and jsig.c */
  92 #define JSIG_VERSION_1_4_1   0x30140100
  93 
  94 #endif /* !_JAVASOFT_JVM_MD_H_ */


  66 #define JVM_F_OK    F_OK
  67 
  68 /*
  69  * File I/O
  70  */
  71 
  72 #include <sys/types.h>
  73 #include <sys/stat.h>
  74 #include <fcntl.h>
  75 #include <errno.h>
  76 #include <signal.h>
  77 
  78 /* Signals */
  79 
  80 #include <sys/socket.h>   // for socklen_t
  81 
  82 #define JVM_SIGINT     SIGINT
  83 #define JVM_SIGTERM    SIGTERM
  84 
  85 #define BREAK_SIGNAL     SIGQUIT           /* Thread dumping support.    */
  86 #ifdef SOLARIS
  87 #define ASYNC_SIGNAL     SIGJVM2           /* Event-based suspend/resume support */
  88 #endif // SOLARIS
  89 #define SHUTDOWN1_SIGNAL SIGHUP            /* Shutdown Hooks support.    */
  90 #define SHUTDOWN2_SIGNAL SIGINT
  91 #define SHUTDOWN3_SIGNAL SIGTERM
  92 
  93 /* With 1.4.1 libjsig added versioning: used in os_solaris.cpp and jsig.c */
  94 #define JSIG_VERSION_1_4_1   0x30140100
  95 
  96 #endif /* !_JAVASOFT_JVM_MD_H_ */
< prev index next >