On Wed, Oct 18, 2006 at 03:52:50PM +0200, Robert Schuster wrote:
> In an attempt to get gnu/testlet/java/net/ServerSocket/ReturnOnClose to 
> succeed
> on Cacao with the new an shiny VMChannel implementation I found out the 
> Cacao's
> Thread.interrupt() does not cause blocking system calls to be interrupted. A
> short glimpse a GCJ's code (where the above testcase runs fine) revealed that 
> I
> needed to add a pthread_kill (and an obligatory sigaction) to get things 
> working.

Hi!

I've implemented Robert's suggestion today and it seems to work (at
least on linux).  I used SIGHUP for now.  Why does GCJ use SIGUSR2 on
non-linux and freebsd OSes?  Any good reason for that?

- twisti

Reply via email to