[erlang-questions] Is the PID known in MyModule:init/1 function?

Martin Koroudjiev <>
Thu Jul 30 11:56:41 CEST 2015


Hello,

I have to save the PID of the dynamically created gen_servers. Can I use
self/0 in MyModule:init/1 function?

Thanks,
Martin


More information about the erlang-questions mailing list