[MUD-Dev] Re: Multi-threaded mudding (was a flamefest)

Jon A. Lambert jlsysinc at ix.netcom.com
Sat May 3 01:25:28 New Zealand Standard Time 1997


This is a multi-part message in MIME format.

------=_NextPart_000_01BC5760.E21F24A0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

> From: Jeff Kesselman <jeffk at tenetwork.com>
> Subject: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)
> 
> At 10:04 PM 5/1/97 PST8PDT, you wrote:
> >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.  
> 
> Um, I disagree. Cold does indeed dispatch events. The evnts are hard
coded
> into the system and are as follows:
> (1) packet arrival
> (2) heartbeat
> (3) connection
> (4) conenction close
> 
> There may be a few mreo im forgettting. in each case the event is
> dispatched in teh form of a method call to an object.
> 
> If thsi doesnt fit your def of "event driven" then I tyhink yer beign way
> too selective in teh application of this term.
> 
This application relies on the OS to generate all its events.
More particularly the socket port and the system clock.
All applications that run on a Unix machine would then 
classify as event driven taken collectively together as
a system.  Clearly not the intent of the distinction between
procedural and event driven.

You are describing:
Cold --- settimer event --->  OS
OS   --- timer event    ---> Cold

OS   --- Socket input event  ---> Cold
Cold --- Socket output event ---> OS

An event-driven system would need: 
Cold                            Cold
Subsystem/ ----???? event ----> Subsystem/
Object                          Object 
                       

JL




------=_NextPart_000_01BC5760.E21F24A0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Times New Roman">&gt; From: Jeff Kesselman =
&lt;<font color=3D"#0000FF"><u>jeffk at tenetwork.com</u><font =
color=3D"#000000">&gt;<br>&gt; Subject: [MUD-Dev] &nbsp;Re: =
Multi-threaded mudding (was a flamefest)<br>&gt; <br>&gt; At 10:04 PM =
5/1/97 PST8PDT, you wrote:<br>&gt; &gt;Based on my definition of =
&quot;event-driven&quot;, Cold would NOT classify.<br>&gt; &gt;It does =
have a 'dispatcher' which simulates time-slicing, <br>&gt; &gt;yet it =
doesn't dispatch events. &nbsp;It only partially approaches this at the =
<br>&gt; &gt;network level only. &nbsp;<br>&gt; <br>&gt; Um, I disagree. =
Cold does indeed dispatch events. The evnts are hard coded<br>&gt; into =
the system and are as follows:<br>&gt; (1) packet arrival<br>&gt; (2) =
heartbeat<br>&gt; (3) connection<br>&gt; (4) conenction close<br>&gt; =
<br>&gt; There may be a few mreo im forgettting. in each case the event =
is<br>&gt; dispatched in teh form of a method call to an object.<br>&gt; =
<br>&gt; If thsi doesnt fit your def of &quot;event driven&quot; then I =
tyhink yer beign way<br>&gt; too selective in teh application of this =
term.<br>&gt; <br><font size=3D2>This application relies on the OS to =
generate all its events.<br>More particularly the socket port and the =
system clock.<br>All applications that run on a Unix machine would then =
<br>classify as event driven taken collectively together as<br>a system. =
&nbsp;Clearly not the intent of the distinction between<br>procedural =
and event driven.<br><br>You are describing:<br>Cold --- settimer event =
---&gt; &nbsp;OS<br>OS &nbsp;&nbsp;--- timer event =
&nbsp;&nbsp;&nbsp;---&gt; Cold<br><br>OS &nbsp;&nbsp;--- Socket input =
event &nbsp;---&gt; Cold<br>Cold --- Socket output event ---&gt; =
OS<br><br>An event-driven system would need: <br>Cold =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;Cold<br>Subsystem/ ----???? event ----&gt; =
Subsystem/<br>Object =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;Object <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br>JL<br>=
<br><font size=3D2><br><br><br></p>
</font></font></font></font></font></body></html>
------=_NextPart_000_01BC5760.E21F24A0--




More information about the MUD-Dev mailing list