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
This commit is contained in:
David Daney 2004-08-12 16:10:52 +00:00 committed by David Daney
parent f64d6991d4
commit 02b7526217
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-08-12 David Daney <ddaney@avtrex.com>
* java/gcj.texi: Add subsection on signal usage.
2004-08-12 David Edelsohn <edelsohn@gnu.org> 2004-08-12 David Edelsohn <edelsohn@gnu.org>
* expr.c (move_by_pieces): Set alignment for move to minimum of * expr.c (move_by_pieces): Set alignment for move to minimum of

View File

@ -1888,6 +1888,19 @@ allocated with @code{JvAllocBytes} will be automatically freed when the Java
object itself becomes unreachable. object itself becomes unreachable.
@end deftypefun @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 @node Exception Handling
@section Exception Handling @section Exception Handling