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

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Thu Jun 5 08:30:05 New Zealand Standard Time 1997


[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 at ami-cg.GraySage.Edmonton.AB.CA



More information about the MUD-Dev mailing list