[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

559: Re: [MUD-Dev] Rooms, 3D arrays, etc.

[Full Header] [Plain Text]
From: "Chris Gray" <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 5 Jun 97 08:30:05 MST
Organization: Kanga.Nu
[Jon L:]
:Chris or anyone:
:
:Does multi-threading have any affects on seeds used in the random
:generator.  Does anyone know if this is truly thread safe?

The key is to save the seed[s] you use as the base for your region[s].
What was also discussed was using the co-ordinates within the region for
the local seed. Thus, nothing is really random, and can be repeatedly
generated, whether multi-threaded or not.

--
Chris Gray   cg@ami-cg.GraySage.Edmonton.AB.CA