<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...) --> <!--X-From-R13: Uert [vyyre <tzvyyreNpynffvp-tnzrf.pbz> --> <!--X-Date: Wed, 29 Dec 1999 09:00:36 -0800 --> <!--X-Message-Id: 3869CA59.40B9CE08@classic-games.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 199912281639.JAA08596@ami-cg.GraySage.Edmonton.AB.CA --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting </title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:gmiller#classic-games,com"> </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="msg00790.html">Previous</a> | <a href="msg00791.html">Next</a> ] Thread: [ <a href="msg00788.html">Previous</a> | <a href="msg00770.html">Next</a> ] Index: [ <A HREF="author.html#00789">Author</A> | <A HREF="#00789">Date</A> | <A HREF="thread.html#00789">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</LI> <LI><em>From</em>: Greg Miller <<A HREF="mailto:gmiller#classic-games,com">gmiller#classic-games,com</A>></LI> <LI><em>Date</em>: Wed, 29 Dec 1999 02:46:17 -0600</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> cg#ami-cg,GraySage.Edmonton.AB.CA wrote: > sometimes > 32 bits, these can work atomically. Unless you know the > specifics, however, and want your software to not be readily portable to > other CPU variants (even other I32's!), don't assume anything. Indeed. If you're on win32, use the Interlocked...() family of functions if you have a good reason to use static/global data. If you don't have functions of that sort, write them--and be very aware of the high cost of such functions, and the much higher cost of using mutexes to simulate them. -- <A HREF="http://www.classic-games.com/">http://www.classic-games.com/</A> Conspiracy theorists mistakenly assume others think before acting. *** Please limit .sigs to four lines and avoid HTML mail or posts. *** _______________________________________________ MUD-Dev maillist - MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </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="00788" HREF="msg00788.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></STRONG> <UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00790.html">[MUD-Dev] Embedded languages, object persistance... ack.</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00791.html">Re: [MUD-Dev] Embedded languages, object persistance... ack.</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00788.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00770.html">[MUD-Dev] Re: MUD-Dev digest, Vol 1 #237 - 9 msgs</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00789"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00789"><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] Embedded languages, object persistance... ack.</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00793" HREF="msg00793.html">Re: [MUD-Dev] Embedded languages, object persistance... ack.</A></strong>, cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 30 Dec 1999, 05:09 GMT </LI> </ul> </LI> <LI><strong><A NAME="00782" HREF="msg00782.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 24 Dec 1999, 19:03 GMT <UL> <LI><strong><A NAME="00787" HREF="msg00787.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Tue 28 Dec 1999, 16:05 GMT </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00788" HREF="msg00788.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 28 Dec 1999, 17:44 GMT <UL> <LI><strong><A NAME="00789" HREF="msg00789.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Wed 29 Dec 1999, 17:00 GMT </LI> </UL> </LI> </UL> </LI> <LI><strong><A NAME="00770" HREF="msg00770.html">[MUD-Dev] Re: MUD-Dev digest, Vol 1 #237 - 9 msgs</A></strong>, Dr. Cat <a href="mailto:cat#realtime,net">cat#realtime,net</a>, Thu 23 Dec 1999, 17:13 GMT <UL> <LI><strong><A NAME="00783" HREF="msg00783.html">Re: [MUD-Dev] Re: MUD-Dev digest, Vol 1 #237 - 9 msgs</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Fri 24 Dec 1999, 20:13 GMT </LI> </UL> </LI> <LI><strong><A NAME="00747" HREF="msg00747.html">[MUD-Dev] Job Openings - Mud Engineering</A></strong>, Christopher Allen <a href="mailto:ChristopherA#Skotos,net">ChristopherA#Skotos,net</a>, Thu 23 Dec 1999, 01:53 GMT <LI><strong><A NAME="00723" HREF="msg00723.html">[MUD-Dev] re: Originality/Points of Reference</A></strong>, Ian Klimon, Esq. <a href="mailto:ian#aephirsden,com">ian#aephirsden,com</a>, Wed 22 Dec 1999, 18:57 GMT </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>