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

Török Edwin edwintorok at gmail.com
Fri Jan 15 07:36:51 PST 2010


On 2010-01-15 17:34, Rafael Espindola wrote:
>> The usual way to do that is kill -0 <pid>
>>     
>
> Thanks!
>
> Is the patch OK with s/SIGCONT/0/ ?
>   

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.

Best regards,
--Edwin





More information about the llvm-commits mailing list