From 02b7526217b0d209f0ea4bce341dc7c65d9e1e44 Mon Sep 17 00:00:00 2001 From: David Daney Date: Thu, 12 Aug 2004 16:10:52 +0000 Subject: [PATCH] gcj.texi: Add subsection on signal usage. 2004-08-12 David Daney * java/gcj.texi: Add subsection on signal usage. From-SVN: r85878 --- gcc/ChangeLog | 4 ++++ gcc/java/gcj.texi | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 50d746415f9..cff78b4e369 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-08-12 David Daney + + * java/gcj.texi: Add subsection on signal usage. + 2004-08-12 David Edelsohn * expr.c (move_by_pieces): Set alignment for move to minimum of diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index e8da2ccbf27..ba2c5d725dd 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -1888,6 +1888,19 @@ allocated with @code{JvAllocBytes} will be automatically freed when the Java object itself becomes unreachable. @end deftypefun +@subsection Posix signals + +On Posix based systems the @code{libgcj} library uses several signals +internally. @acronym{CNI} code should not attempt to use the same +signals as doing so may cause @code{libgcj} and/or the @acronym{CNI} +code to fail. + +SIGSEGV is used on many systems to generate +@code{NullPointerExceptions}. SIGCHLD is used internally by +@code{Runtime.exec()}. Several other signals (that vary from platform to +platform) can be used by the memory manager and by +@code{Thread.interrupt()}. + @node Exception Handling @section Exception Handling -- 2.30.2