[llvm-commits] [patch] Used TimedExec.sh everywhere

Nick Lewycky nlewycky at google.com
Fri Jan 15 09:09:09 PST 2010


Works on my mac too. Please commit that plus the change to RunSafely.sh you
sent earlier. Thanks!

2010/1/15 Török Edwin <edwintorok at gmail.com>

> On 2010-01-15 17:53, Rafael Espindola wrote:
> >> No, because 0 is not a signal name ;)
> >>
> >> Should be something like this (haven't tested though):
> >>
> >> -        kill -s INFO $PARENT 2>/dev/null
> >> +        kill -0 $PARENT 2>/dev/null
> >>
> >> I am using kill -0 in other scripts though, and it works fine.
> >>
> >
> > Sure. So, is it ok?
> >
> >
>
> Yes.
>
> > I tested kill -0 on linux and it does return 0 if the process exists
> > and 1 if it doesn't which is all that we need.
> >
>
> Yes, I just double-checked and it also works on Solaris.
>
> Best regards,
> --Edwin
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100115/6367d9e2/attachment.html>


More information about the llvm-commits mailing list