<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Threaded rand() --> <!--X-From-R13: Zvat <Y.Z.Zb-94Nfghqrag.yhg.np.hx> --> <!--X-Date: from babe.globecomm.net [207.51.48.8] by in3.ibm.net id 865525013.160956-1 Thu Jun 5 15:36:53 1997 CUT --> <!--X-Message-Id: Pine.SOL.3.95.970605162952.7249A-100000@sun-cc203 --> <!--X-Content-Type: text/plain --> <!--X-Reference: 199706050211.VAA10068@dfw-ix15.ix.netcom.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Threaded rand()</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:K.L.Lo-94#student,lut.ac.uk"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg01194.html">Previous</a> | <a href="msg01196.html">Next</a> ] Thread: [ <a href="msg01166.html">Previous</a> | <a href="msg01203.html">Next</a> ] Index: [ <A HREF="author.html#01195">Author</A> | <A HREF="#01195">Date</A> | <A HREF="thread.html#01195">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Threaded rand()</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Threaded rand()</LI> <LI><em>From</em>: Ling <<A HREF="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</A>></LI> <LI><em>Date</em>: Thu, 5 Jun 1997 16:36:18 +0100 (BST)</LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> 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 </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="01166" HREF="msg01166.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></STRONG> <UL><LI><EM>From:</EM> "Jon A. Lambert" <jlsysinc#ix,netcom.com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg01194.html">Message problems with this list</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg01196.html">Re: [MUD-Dev] Learning</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01166.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg01203.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#01195"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#01195"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>Re: [MUD-Dev] Rooms, 3D arrays, etc.</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <LI><strong><A NAME="01116" HREF="msg01116.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 04 Jun 1997, 04:50 GMT <UL> <LI><strong><A NAME="01146" HREF="msg01146.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Miroslav Silovic <a href="mailto:silovic#srce,hr">silovic#srce,hr</a>, Wed 04 Jun 1997, 15:59 GMT </LI> </UL> </LI> </ul> <LI><strong><A NAME="01073" HREF="msg01073.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 03 Jun 1997, 08:14 GMT </LI> <LI><strong><A NAME="01166" HREF="msg01166.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 05 Jun 1997, 09:11 GMT <UL> <LI><strong><A NAME="01195" HREF="msg01195.html">Re: [MUD-Dev] Threaded rand()</A></strong>, Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Thu 05 Jun 1997, 22:36 GMT </LI> <LI><strong><A NAME="01203" HREF="msg01203.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 06 Jun 1997, 02:08 GMT <UL> <LI><strong><A NAME="01248" HREF="msg01248.html">Physical Space Representation</A></strong>, Mathue Moyer <a href="mailto:mathue#king,cts.com">mathue#king,cts.com</a>, Sun 08 Jun 1997, 02:17 GMT <UL> <LI><strong><A NAME="01285" HREF="msg01285.html">Re: [MUD-Dev] Physical Space Representation</A></strong>, coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Wed 11 Jun 1997, 10:08 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> <LI><strong><A NAME="01190" HREF="msg01190.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Thu 05 Jun 1997, 12:51 GMT </LI> </ul> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>