MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Threaded rand()
On Wed, 4 Jun 1997, Jon A. Lambert wrote:
> 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?
>
> JL
Not as far as I know, for SunOS and the linux. Could use rand_r() and
provide the seed each time. I think you might wanna provide your own
random number generator (I know it's a fine art but I'm sure a good
algorithm book would have a couple).
| Anyone
_O_O_ Freshwater fish since 1976
- Thread context:
- Re: [MUD-Dev] Rooms, 3D arrays, etc., (continued)
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Tue 03 Jun 1997, 08:14 GMT
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
Jon A. Lambert jlsysinc#ix,netcom.com, Thu 05 Jun 1997, 09:11 GMT
- Re: [MUD-Dev] Threaded rand(),
Ling K.L.Lo-94#student,lut.ac.uk, Thu 05 Jun 1997, 22:36 GMT
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
clawrenc clawrenc#cup,hp.com, Fri 06 Jun 1997, 02:08 GMT
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
Jeff Kesselman jeffk#tenetwork,com, Thu 05 Jun 1997, 12:51 GMT
[ Other Periods
| Other mailing lists
| Search
]