[erlang-questions] process dictionary, anyone?

Jonathan Gold dev@REDACTED
Wed Apr 25 13:17:22 CEST 2007


I noticed that too, and indeed it was very fun for me too :)

I ended up switching over to using the random engine in the crypto module
instead. Is that what you did?

jon

On Wed, Apr 25, 2007 at 11:02:44AM +0200, Luke Gorrie wrote:
> "Julian Fondren" <ayrnieu@REDACTED> 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 :-)
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list