This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: signal hander patch
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- To: "'Andrew Haley'" <aph at cambridge dot redhat dot com>, "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, java at gcc dot gnu dot org
- Date: Tue, 26 Mar 2002 10:21:14 -0800
- Subject: RE: signal hander patch
> -----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