<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Very cool! Thank you all.<br>
    <br>
    Regards,<br>
    Martin<br>
    <br>
    <div class="moz-cite-prefix">On 7/30/2015 1:38 PM, Jesper Louis
      Andersen wrote:<br>
    </div>
    <blockquote
cite="mid:CAGrdgiURT0ZzCyLG3d_FPQj7hUz=Ha+JBaFLx9qg4oUvrDoAwA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Yes,<br>
          <br>
        </div>
        Module:init/1 runs in the context of the newly created process.<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jul 30, 2015 at 11:56 AM,
          Martin Koroudjiev <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:mrtndimitrov@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:mrtndimitrov@gmail.com">mrtndimitrov@gmail.com</a></a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            I have to save the PID of the dynamically created
            gen_servers. Can I use<br>
            self/0 in MyModule:init/1 function?<br>
            <br>
            Thanks,<br>
            Martin<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"
              rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature">J.</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>