RFA PATCH: Fix PosixProcess some more...

Bryce McKinlay mckinlay@redhat.com
Wed Aug 18 18:14:00 GMT 2004


David Daney wrote:

>The loop is fairly tight, it really just contains sigsuspend() and
>waitpid().  Also when using sigsuspend(), you cannot tell which signal
>fired, so we have to do the waitpid() anyhow.
>  
>
Well, sigchld_hander() could set a flag. That might also make the whole 
interaction a bit clearer? But, I'll leave it up to you.

>There is a reason that the test case does this.
>  
>

Sure. However, I'd like to avoid even a 10 second delay in the test 
suite. It may not seem like much, but as the test suite grows and more 
such tests got introduced, the time would add up - time that doesn't get 
smaller as hardware gets faster.

Also, the failure mode for this test is, I'd imagine, pretty 
non-deterministic, and thats probably reason alone not to include it.

Regards

Bryce



More information about the Java-patches mailing list