MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Rooms, 3D arrays, etc.
At 08:34 PM 6/4/97 PST8PDT, JL wrote:
>> From: clawrenc#cup,hp.com
>>
>> Not only that, but you will get into side effect problems where
>> generating the sequence to derive from A from B results in a certain
>> value at B, but conversely generating the sequence from C to get B
>> gets a different value. This can get *really* hairy to track down and
>> provably ensure will not happen.
>>
>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 question is, is your psuedo random nume generator trhead safe code? If
not, semaphore it.
The seed we are assuming is absed o na fixed unchanging quantity sucha s
the coords of the room. Thsi is why we are using the psudeo random (besides
the fact tha there IS no true random on a computer, just psuedo random
generators. Most people fake it by seeding the psuedorandom library
function off of soemthing reasobnably unpredictable and quickly changing,
like up time in ticks.)
JK
- Thread context:
- Re: [MUD-Dev] Threaded rand(), (continued)
- 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
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Thu 05 Jun 1997, 21:47 GMT
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
Jeff Kesselman jeffk#tenetwork,com, Fri 06 Jun 1997, 12:00 GMT
- Re: [MUD-Dev] Rooms, 3D arrays, etc.,
Jon A. Lambert jlsysinc#ix,netcom.com, Sat 07 Jun 1997, 08:12 GMT
- Important: Posting requirements,
coder coder#ibm,net, Wed 28 May 1997, 11:32 GMT
[ Other Periods
| Other mailing lists
| Search
]