Hi Christopher!<div><br></div><div>Thanks for you contribution! Could you please give some background information regarding the use of these new features? In which situations do you find them useful?</div><div><br></div><div>
Regards</div><div>/siri@otp</div><div><br></div><div><br><div><br></div><div><br><br><div class="gmail_quote">2011/9/8 Christopher Faulet <span dir="ltr"><<a href="mailto:christopher.faulet@capflam.org">christopher.faulet@capflam.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Here are 2 patches to improve supervisor behavior:<br>
<br>
* Explicitly kill dynamic child processes when simple-one-for-one<br>
supervisor terminates:<br>
<br>
git fetch git://<a href="http://github.com/capflam/otp.git" target="_blank">github.com/capflam/otp.git</a> simple_one_for_one_shutdown<br>
<br>
<a href="https://github.com/capflam/otp/compare/simple_one_for_one_shutdown" target="_blank">https://github.com/capflam/otp/compare/simple_one_for_one_shutdown</a><br>
<a href="https://github.com/capflam/otp/compare/simple_one_for_one_shutdown.patch" target="_blank">https://github.com/capflam/otp/compare/simple_one_for_one_shutdown.patch</a><br>
<br>
<br>
* Allow an infinite timeout to shutdown worker processes:<br>
<br>
git fetch git://<a href="http://github.com/capflam/otp.git" target="_blank">github.com/capflam/otp.git</a> supervisor_shutdown_infinity<br>
<br>
<a href="https://github.com/capflam/otp/compare/supervisor_shutdown_infinity" target="_blank">https://github.com/capflam/otp/compare/supervisor_shutdown_infinity</a><br>
<a href="https://github.com/capflam/otp/compare/supervisor_shutdown_infinity.patch" target="_blank">https://github.com/capflam/otp/compare/supervisor_shutdown_infinity.patch</a><br>
<br>
Best regards,<br>
<font color="#888888">--<br>
Christopher Faulet<br>
<a href="http://www.yakaz.com" target="_blank">http://www.yakaz.com</a><br>
<br>
</font><br>_______________________________________________<br>
erlang-patches mailing list<br>
<a href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-patches" target="_blank">http://erlang.org/mailman/listinfo/erlang-patches</a><br>
<br></blockquote></div><br></div></div>