1999Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Sockets and fibers -->
<!--X-From-R13: Xb Rvyyba <rzvylNgurybavbhf.arj.bk.np.hx> -->
<!--X-Date: Wed, 20 Jan 1999 09:26:17 &#45;0800 -->
<!--X-Message-Id: 19990120172605.A27640#thelonious,new.ox.ac.uk -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 005f01be4497$f85c1f90$55e5edd0@dev&#45;18.chilisoft.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Sockets and fibers</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:emily#thelonious,new.ox.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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00225.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00227.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00225.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00227.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00226">Author</A>
&nbsp;|&nbsp;<A HREF="#00226">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00226">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Sockets and fibers</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>: [MUD-Dev] Re: Sockets and fibers</LI>
<LI><em>From</em>: Jo Dillon &lt;<A HREF="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</A>&gt;</LI>
<LI><em>Date</em>: Wed, 20 Jan 1999 17:26:05 +0000</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#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>
Caliban Tiresias Darklock (caliban#darklock,com) spake thusly:
&gt; 
&gt; Hopefully, this won't bounce. Once I get a message through, I'll pump
&gt; previous messages that bounced back through here. (Not your fault, name
&gt; server refresh problem on my end. Can't be helped.)
&gt; 
&gt; Has anyone here looked at the possibilities of spawning a single thread
&gt; which handles sockets and then using Microsoft's "fibers" to handle
&gt; individual sockets? How much of the one-thread-per-socket problem would be
&gt; solved by this? With the speed of modern computers, what are the real
&gt; problems with just serialising the socket handling -- one thread with all
&gt; the sockets, servicing each socket in turn for some small time slice?

  Correct me if I'm wrong, and I'm not an expert here, but aren't
fibers effectively cooperative threads? Isn't it likely that a blocking socket
read would block all the fibres? If not, they'd have to be real threads,
which would seem to imply you'd still get the context-switching overhead
that makes lots of threads bad news.

-- 
	Jo




</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="00225" HREF="msg00225.html">[MUD-Dev] Sockets and fibers</A></STRONG>
<UL><LI><EM>From:</EM> "Caliban Tiresias Darklock" &lt;caliban#darklock,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00225.html">[MUD-Dev] Sockets and fibers</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00227.html">[MUD-Dev] Re: Sockets and fibers</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00225.html">[MUD-Dev] Sockets and fibers</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00227.html">[MUD-Dev] Re: Sockets and fibers</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00226"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00226"><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] Re: Sockets and fibers</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00241" HREF="msg00241.html">[MUD-Dev] Re: Sockets and fibers</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 21 Jan 1999, 04:01 GMT
<UL>
<LI><strong><A NAME="00243" HREF="msg00243.html">[MUD-Dev] Re: Sockets and fibers</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 25 Jan 1999, 02:00 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00295" HREF="msg00295.html">[MUD-Dev] Re: Sockets and fibers</A></strong>, 
Dr. Cat <a href="mailto:cat#oldzoom,bga.com">cat#oldzoom,bga.com</a>, Tue 26 Jan 1999, 21:56 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00225" HREF="msg00225.html">[MUD-Dev] Sockets and fibers</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Wed 20 Jan 1999, 17:15 GMT
<UL>
<LI><strong><A NAME="00226" HREF="msg00226.html">[MUD-Dev] Re: Sockets and fibers</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Wed 20 Jan 1999, 17:26 GMT
</LI>
<LI><strong><A NAME="00227" HREF="msg00227.html">[MUD-Dev] Re: Sockets and fibers</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Wed 20 Jan 1999, 17:55 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00224" HREF="msg00224.html">[MUD-Dev] Graphic design doc</A></strong>, 
Thinus Barnard <a href="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</a>, Wed 20 Jan 1999, 16:29 GMT
<LI><strong><A NAME="00220" HREF="msg00220.html">[MUD-Dev] ADMIN: List server and Kanga.Nu host changes</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Wed 20 Jan 1999, 05:31 GMT
<LI><strong><A NAME="00216" HREF="msg00216.html">[MUD-Dev] Matrix Game</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Mon 18 Jan 1999, 11:59 GMT
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>