<!-- 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: [nep Pbjqra <elhzbNzrevg.rqh> --> <!--X-Date: Thu, 23 Dec 1999 10:00:13 -0800 --> <!--X-Message-Id: 143424.3154941760#mactheknife,merit.edu --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.LNX.3.96.991223013639.1754G-100000#maul,sith.vpn --> <!--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:ryumo#merit,edu"> </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="msg00772.html">Previous</a> | <a href="msg00774.html">Next</a> ] Thread: [ <a href="msg00781.html">Previous</a> | <a href="msg00749.html">Next</a> ] Index: [ <A HREF="author.html#00773">Author</A> | <A HREF="#00773">Date</A> | <A HREF="thread.html#00773">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>: Marc Bowden <<A HREF="mailto:ryumo#merit,edu">ryumo#merit,edu</A>></LI> <LI><em>Date</em>: Thu, 23 Dec 1999 12:42:40 -0500</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> --On Thu, Dec 23, 1999 1:40 AM -0800 "Wesley W. Terpstra" <terpstra#iota,dhs.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 22 Dec 1999 21:54:37, Rahul Sinha <rsinha#glue,umd.edu> > wrote: >> hear hear! keep in mind, multiple threads ought not seperate >> themselves on seperate cpus due to cache coherency issues (depends >> on your OS if they do) and either way, the only reason to have >> threads is to eliminate wait for blocking operations. > > What?! You're saying if I spawn two threads and having both work > nonstop the OS won't put them on different CPUs? > Some might. With Windows NT it randomly assigns threads to a CPU until one or the other fills up. Go fig. > I thought this was the whole point to multi-threading? > Please explain. > The point is that you can do two things and have them *look* like they're happening at the same time. _______________________________________________ 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="00764" HREF="msg00764.html">[MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></STRONG> <UL><LI><EM>From:</EM> "Wesley W. Terpstra" <terpstra#iota,dhs.org></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00772.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00774.html">Re: [MUD-Dev] Fair/Unfair? Scenarios (fwd)</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00781.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="msg00749.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00773"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00773"><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>[MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00764" HREF="msg00764.html">[MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, Wesley W. Terpstra <a href="mailto:terpstra#iota,dhs.org">terpstra#iota,dhs.org</a>, Thu 23 Dec 1999, 17:00 GMT <UL> <LI><strong><A NAME="00771" HREF="msg00771.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 23 Dec 1999, 17:31 GMT <UL> <LI><strong><A NAME="00776" HREF="msg00776.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, Jay Carlson <a href="mailto:nop#mitre,org">nop#mitre,org</a>, Thu 23 Dec 1999, 20:50 GMT </LI> <LI><strong><A NAME="00781" HREF="msg00781.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>, Fri 24 Dec 1999, 07:47 GMT </LI> </UL> </LI> <LI><strong><A NAME="00773" HREF="msg00773.html">Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)</A></strong>, Marc Bowden <a href="mailto:ryumo#merit,edu">ryumo#merit,edu</a>, Thu 23 Dec 1999, 18:00 GMT </LI> </UL> </LI> </ul> </ul> <LI><strong><A NAME="00749" HREF="msg00749.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, Rahul Sinha <a href="mailto:rsinha#glue,umd.edu">rsinha#glue,umd.edu</a>, Thu 23 Dec 1999, 05:36 GMT <UL> <LI><strong><A NAME="00755" HREF="msg00755.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 23 Dec 1999, 06:49 GMT </LI> </UL> </LI> </ul> <LI><strong><A NAME="00740" HREF="msg00740.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Wed 22 Dec 1999, 23:46 GMT </LI> <LI><strong><A NAME="00741" HREF="msg00741.html">Re: [MUD-Dev] Collecting ideas for a MUD server... (fwd)</A></strong>, J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Wed 22 Dec 1999, 23:55 GMT </LI> </ul> </ul> </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>