1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Re: Multi&#45;threaded mudding (was a flamefest) -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: from major.globecomm.net [207.51.48.5] by mx3.ibm.net id 862548988.83838&#45;1 Fri May  2 04:56:28 1997 -->
<!--X-Message-Id: 199705020501.AAA14692@dfw&#45;ix9.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlsysinc#ix,netcom.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>
[&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="msg00304.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00306.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00308.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00309.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00305">Author</A>
&nbsp;|&nbsp;<A HREF="#00305">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00305">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: &lt;<A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A>&gt;</LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</LI>
<LI><em>From</em>: "Jon A. Lambert" &lt;<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 2 May 1997 01:04:36 -0400</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
&gt; From: Jeff Kesselman &lt;jeffk#tenetwork,com&gt;
&gt; Subject: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)
&gt; 
Hmm, Deja Vu .. someone just took me to task on rgma on this point.
Alittle more xposting pasted in here too..

First a little more background on where I was trying to go here.

It was the contended that event-driven servers could be done
in a single-threaded and a multi-threaded environment.

No argument with this here. 
  
One side argues that multi-threading will buy you nothing.
The other side arguing that it will perform better.
 
&gt; &gt;I believe whether you use OS-supplied threading or your 
&gt; &gt;application simulates threading makes no difference.
&gt;
By "no difference" , I really mean that one or the other MUST be
done for you to be truly "event-driven", practicalities aside for the 
moment.
 
&gt; Well, no classification differebnce. A very real practical difference.
&gt; Systems that use OS-threading can take advantage of hardware such as
&gt; multi-processors.  Applciaiton implemented threading generally can not.

Exactly. 

The implication is, if my definition of event-driven systems is correct,
program control MUST be external to the procedural code of the events 
for a server to be truly "event-driven".

Can it be done with a single-threaded 'dispatcher/monitor'?  Certainly.
If OS multi-threading is superior to software time-slicing on your platform
then it would follow, that a multi-threaded event-driven server would
outperform a single-threaded event-driven server regardless of 
how many CPUs your processor has.  

Are there any faults with this logic?

&gt; 
&gt; Whelpers, ColdC is an object opriented event driven semi-tjhreaded
&gt; (applciation threads) system...

Based on my definition of "event-driven", Cold would NOT classify.
It does have a 'dispatcher' which simulates time-slicing, 
yet it doesn't dispatch events.  It only partially approaches this at the 
network level only.  

BTW, if you think me too critical of Cold, its only because I like it
a lot.  I'm funny this way. :-)

JL
 

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00309" HREF="msg00309.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>
<ul compact><li><em>From:</em> clawrenc#cup,hp.com</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00304.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00306.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00308.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00309.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00305"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00305"><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><A NAME="00317" HREF="msg00317.html">Re: [MUD-Dev]	Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 03 May 1997, 12:57 GMT
<LI><strong><A NAME="00314" HREF="msg00314.html">More sendmail tests...</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sat 03 May 1997, 12:19 GMT
<LI><strong><A NAME="00304" HREF="msg00304.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 02 May 1997, 10:30 GMT
<UL>
<LI><strong><A NAME="00308" HREF="msg00308.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 03 May 1997, 01:10 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00305" HREF="msg00305.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 02 May 1997, 11:56 GMT
<UL>
<LI><strong><A NAME="00309" HREF="msg00309.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 03 May 1997, 01:24 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00306" HREF="msg00306.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 02 May 1997, 12:42 GMT
</LI>
<LI><strong><A NAME="00310" HREF="msg00310.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sat 03 May 1997, 07:46 GMT
<UL>
<LI><strong><A NAME="00311" HREF="msg00311.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sat 03 May 1997, 08:36 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</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>