<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 03/18/2013 05:03 PM, Bohuslav
      Svancara wrote:<br>
    </div>
    <blockquote
cite="mid:CANJKu1AqgJ8pPNcuy9ePS4DrFpTMv4bfbVRjRD70xQtvJpK0Cw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      >>What version of OTP are you using and on what platform?
      Erlang:halt only stops for flushing I/O of stdin/stdout. That has
      changed slightly in later releases. Is >>pending I/O
      something that could be the cause in your case?<br>
      <br>
      Huh.  Am I understand well that if I will not send anything to
      stdout then erlang:halt() will not work?<br>
    </blockquote>
    No, I meant that if there *is* pending I/O (write requests) on e.g.
    stdout, it will try to flush taht before exiting. If ther is no
    pending I/O, it will just exit.<br>
    <br>
    <blockquote
cite="mid:CANJKu1AqgJ8pPNcuy9ePS4DrFpTMv4bfbVRjRD70xQtvJpK0Cw@mail.gmail.com"
      type="cite"> <br>
      <br>
      <br>
      <div class="gmail_quote">2013/3/18 Patrik Nyblom <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:pan@erlang.org"
            target="_blank">pan@erlang.org</a>></span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>Hi!
              <div>
                <div class="h5"><br>
                  On 03/14/2013 02:18 PM, skyman wrote:<br>
                </div>
              </div>
            </div>
            <div>
              <div class="h5">
                <blockquote type="cite">
                  <div
                    style="line-height:1.7;font-size:14px;font-family:arial">Hi

                    all,
                    <div>I encounter this problem: erlang:halt() cannot
                      terminate the Erlang VM. Then I user "kill -USR1
                      erlpid" to kill the <span style="line-height:1.7">Erlang
                        VM process, and get an Erlang crash dump, it </span>indicates
                      that there are some <span style="line-height:1.7">"Scheduled" </span><span
                        style="line-height:1.7">processes.</span></div>
                    <div><span style="line-height:1.7">I want to know </span> under

                      what cases erlang:halt() cannot terminate the
                      Erlang VM, for example, existing <span
                        style="line-height:1.7"> </span><span
                        style="line-height:1.7">"Scheduled" </span><span
                        style="line-height:1.7">processes?</span></div>
                    <div><span style="line-height:1.7">Thanks in
                        advance!</span></div>
                  </div>
                  <br>
                </blockquote>
              </div>
            </div>
            What version of OTP are you using and on what platform?
            Erlang:halt only stops for flushing I/O of stdin/stdout.
            That has changed slightly in later releases. Is pending I/O
            something that could be the cause in your case?<br>
            <blockquote type="cite"><br>
              <span title="neteasefooter"><span></span></span> <br>
              <fieldset></fieldset>
              <br>
              <pre>_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a moz-do-not-send="true" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
            </blockquote>
            Cheers,<br>
            /Patrik<br>
          </div>
          <br>
          _______________________________________________<br>
          erlang-questions mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
          <a moz-do-not-send="true"
            href="http://erlang.org/mailman/listinfo/erlang-questions"
            target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    Cheers,<br>
    /Patrik<br>
  </body>
</html>