[erlang-questions] process dictionary, anyone?

Luke Gorrie <>
Wed Apr 25 11:02:44 CEST 2007


"Julian Fondren" <> writes:

> Also, the 'random' module inserts random_seed in the caller's
> process dictionary.

.. and has anyone else noticed how fun it is that by default each
process's random-seed is initialized from a constant?

Just a couple of months ago I spawned a dozen processes each behaving
"randomly" and was quite amused when they all did exactly the same
thing :-)





More information about the erlang-questions mailing list