[erlang-questions] Process scope variable

Imants Cekusins imantc@REDACTED
Wed Feb 18 03:55:58 CET 2015


Thank you very much indeed! A lot of useful detail.

Key clash is not a problem. I will only use a handful of predefined keys
for known shared values. Will still pass variables to functions. The module
&fun which set the value can be stored in the dict for debugging. The key
does not need to tie to the module. Will not use the dict for odd variables.

Is process dict not gc'ed even after the process completes? The dict can be
erased but what if this does not happen?

Is it possible to accidentally read from / write to system key?

Thank you very much indeed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150218/c6f0df49/attachment.htm>


More information about the erlang-questions mailing list