aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/gcj.texi
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2004-08-12 16:10:52 +0000
committerDavid Daney <daney@gcc.gnu.org>2004-08-12 16:10:52 +0000
commit02b7526217b0d209f0ea4bce341dc7c65d9e1e44 (patch)
tree796c968d01efd4389e7d5ae33bbeeedb2597525b /gcc/java/gcj.texi
parentf64d6991d42d47569e602a11dcbd21814d0a5026 (diff)
downloadgcc-02b7526217b0d209f0ea4bce341dc7c65d9e1e44.zip
gcc-02b7526217b0d209f0ea4bce341dc7c65d9e1e44.tar.gz
gcc-02b7526217b0d209f0ea4bce341dc7c65d9e1e44.tar.bz2
gcj.texi: Add subsection on signal usage.
2004-08-12 David Daney <ddaney@avtrex.com> * java/gcj.texi: Add subsection on signal usage. From-SVN: r85878
Diffstat (limited to 'gcc/java/gcj.texi')
-rw-r--r--gcc/java/gcj.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index e8da2cc..ba2c5d7 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