This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ada/testsuite] Add timeout for ada tests


* James Morrison:

> +  (sleep $timeout && kill 2>/dev/null \$\$) &

Wouldn't it be better to use SIGKILL instead of SIGTERM?  Especially
with tasking, I noticed that SIGTERM does not reliably terminate
processes.  (SIGTERM might be more portable, though.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]