RFA PATCH: Fix PosixProcess some more...

David Daney ddaney@avtrex.com
Thu Aug 19 09:34:00 GMT 2004


Bryce McKinlay wrote:
> 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 committed with pthread_sigmask (0, NULL, &mask).

> 
> 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...
> 

David Daney.



More information about the Java-patches mailing list