signal hander patch

Boehm, Hans hans_boehm@hp.com
Tue Mar 26 10:21:00 GMT 2002


> -----Original Message-----
> From: Andrew Haley [mailto:aph@cambridge.redhat.com]
> Boehm, Hans writes:
>  > Thus abstractly, it still makes marginally more sense to me to use
>  > __libc_sigaction, since libc seems to be the only piece of code
>  > that's really supposed to understand the system call calling
>  > convention.
> 
> I disagree.  Why should kernel interfaces only be available to the C
> library?
> 
The only real problem is that the system call interface is not portable, may
lack documentation, and may not have the same parameters as the C library
call.  On further inquiry, it does seem to be stable.  It looks like we
don't really have a choice except to put system dependent code here, so
maybe this isn't much of an issue.

Hans



More information about the Java mailing list