This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcj: SignalListener, process pid, ...


Tom Tromey writes:
 > >>>>> "Erik" == Erik Poupaert <erik.poupaert@freestyler-toolkit.org> writes:
 > 
 > Erik> That should be ample enough to control linux daemons with, if it
 > Erik> weren't for the fact that the traditional SIGHUP signal is
 > Erik> missing. While the library permits listening to SIGHUP (and
 > Erik> SIGDANGER(?)), libgcj unfortunately prevents somehow the
 > Erik> signal-listening thread to respond to it.(Why?)
 > 
 > We reserve a signal to implement Thread.interrupt().
 > On Linux this is SIGHUP.

Oh dear.  That means to use a server process that can handle SIGHUP
you'll have to create a wrapper.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]