<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 04/01/2011 09:14 PM, Vance Shipley wrote:
<blockquote
cite="mid:20110401191452.GN6861@h216-235-12-173.host.egate.net"
type="cite">
<pre wrap="">In a recent project(*) I found it necessary to forge an EXIT
message in order to shutdown a supervisor which I had earlier
dynamically added as a child to a simple_one_for_one supervisor.
Finding this rather distasteful I created the attached patch to
add a terminate/1 function to the supervisor module.
git fetch <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:vances/otp.git">git@github.com:vances/otp.git</a> supervisor_terminate
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
erlang-patches mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-patches">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
</blockquote>
Thank you for your patch.<br>
We will investigate this further the coming days.<br>
Until then would you be so kind as to complete the patch with tests?<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/erlang/otp/wiki/Submitting-patches">https://github.com/erlang/otp/wiki/Submitting-patches</a><br>
<br>
Thank you <br>
<pre class="moz-signature" cols="72">--
/Henrik Nord Erlang/OTP</pre>
</body>
</html>