RFA PATCH: Fix PosixProcess some more...
Bryce McKinlay
mckinlay@redhat.com
Wed Aug 18 19:33:00 GMT 2004
David Daney wrote:
>Here they are.
>
>Currently in make check.
>
>O.K. to commit if no regressions?
>
>
Just one thing I noticed...
> {
> using namespace java::lang;
>
>! sigset_t mask, new_mask;
> // Wait for SIGCHLD
> sigemptyset (&mask);
>! pthread_sigmask (SIG_BLOCK, &mask, &new_mask);
>
>
Isn't the sigemptyset a no-op? I think you can just do "pthread_sigmask
(0, NULL, &mask)" to obtain the current sigmask.
Patch is ok to commit, otherwise. Test case not ok for reasons mentioned
in previous email, though it would be nice if we did have somewhere to
put such tests...
Thanks
Bryce
More information about the Java-patches
mailing list