<html><head></head><body><div>What is the order of events/guarantees that happen with gen_server start + global name register?<br><br>Does register happen before the init?<br><br>If I do a normal spawn then do a register in 2 separate calls, I have a chance to call the register while init is already evaluating, <br>which triggers my race condition. As another process is sending a message to this process, and expects init to NOT start evaluating UNTIL the process is registered.</div><div><br></div><div class="ydp7b1d84ffyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"></div></body></html>