1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: PDMud thread summary -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNqvipbz.fyvzl.pbz> -->
<!--X-Date: Fri, 23 Oct 1998 14:42:17 &#45;0700 -->
<!--X-Message-Id: 19981023143704.C3992#divcom,slimy.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: a288d201.362fc82f#aol,com -->
<!--X-Reference: Pine.LNX.3.96.981023101951.18389G&#45;100000#enigma,sss.org -->
<!--X-Reference: 19981023175413.A20008#thelonious,new.ox.ac.uk -->
<!--X-Reference: 19981023134644.C11290#flagstaff,Princeton.EDU -->
<!--X-Reference: 19981023124709.A3409#divcom,slimy.com -->
<!--X-Reference: 19981023213830.A24840#thelonious,new.ox.ac.uk -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: PDMud thread summary</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jleonard#divcom,slimy.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="msg00423.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00425.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00415.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00451.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00424">Author</A>
&nbsp;|&nbsp;<A HREF="#00424">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00424">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: PDMud thread summary</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: PDMud thread summary</LI>
<LI><em>From</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 23 Oct 1998 14:37:04 -0700</LI>
<LI><em>Cc</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>&gt;</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>
On Fri, Oct 23, 1998 at 09:38:30PM +0100, Jo Dillon wrote:
&gt; Jon Leonard (jleonard#divcom,slimy.com) spake thusly:
&gt; &gt; 
&gt; &gt; There really aren't that many OS features that a MUD needs to use, and with
&gt; &gt; a modular design, these can often be isolated.
&gt; &gt; 
&gt; &gt; I think the only things that all modules would have to be aware of are
&gt; &gt; dynamic linking and threads.  There should be compile time options to
&gt; &gt; turn those off, too.  (My old computer supports neither, for example.)
&gt; &gt;
&gt;   Threads tend to be an all-or-nothing thing; it's hard to just
&gt; 'switch them off' :)

Indeed.  'Switching off threads' may well involve making a large number of
modules unavailable.  But if threads aren't going to be used, this can be
specified at compile time to get much cheaper mutexes.

It should also be possible to mix thread-unsafe and threaded modules in the
same server by using a monitor to serialize access to the unsafe portions.
 
&gt;   Threads and sockets should definitely be abstracted IMHO; I've got
&gt; a thin blocking socket and threads wrapper somewhere.

Sockets should be fairly easy to abstract.  The only catch is that in a
single-threaded server, the call to select() needs to be aware of all
timing requirements and non-blocking IO, which may include more than
just the telnet sockets.  In such a server, the socket module should
probably export all of it's file descriptor information to a timer module.
Any X clients or other wierd IO modules should do the same.

Since thread-safety (and MP safety) are global properties, they're much
harder to abstract.

Jon Leonard


</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="00369" HREF="msg00369.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
<UL><LI><EM>From:</EM> ApplePiMan#aol,com</LI></UL></LI>
<LI><STRONG><A NAME="00400" HREF="msg00400.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
<UL><LI><EM>From:</EM> Steve Sparks &lt;ssparks#enigma,sss.org&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00401" HREF="msg00401.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
<UL><LI><EM>From:</EM> Jo Dillon &lt;emily#thelonious,new.ox.ac.uk&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00403" HREF="msg00403.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
<UL><LI><EM>From:</EM> "Adam J. Thornton" &lt;adam#phoenix,Princeton.EDU&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00410" HREF="msg00410.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
<UL><LI><EM>From:</EM> Jon Leonard &lt;jleonard#divcom,slimy.com&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00415" HREF="msg00415.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
<UL><LI><EM>From:</EM> Jo Dillon &lt;emily#thelonious,new.ox.ac.uk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00423.html">[MUD-Dev] Re: OT, kinda, but yay :)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00425.html">[MUD-Dev] Golgotha as it applies to PDMud (was Re: Crack.Com deceased, Golgotha source , released (sorta))</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00415.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00451.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00424"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00424"><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: PDMud thread summary</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00401" HREF="msg00401.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Fri 23 Oct 1998, 16:57 GMT
<UL>
<LI><strong><A NAME="00403" HREF="msg00403.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Fri 23 Oct 1998, 17:50 GMT
<UL>
<LI><strong><A NAME="00410" HREF="msg00410.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 23 Oct 1998, 19:52 GMT
<UL>
<LI><strong><A NAME="00415" HREF="msg00415.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Fri 23 Oct 1998, 20:41 GMT
<UL>
<LI><strong><A NAME="00424" HREF="msg00424.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 23 Oct 1998, 21:42 GMT
</LI>
<LI><strong><A NAME="00451" HREF="msg00451.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Sat 24 Oct 1998, 04:24 GMT
<UL>
<LI><strong><A NAME="00456" HREF="msg00456.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Sat 24 Oct 1998, 10:25 GMT
</LI>
<LI><strong><A NAME="00484" HREF="msg00484.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sun 25 Oct 1998, 14:12 GMT
<UL>
<LI><strong><A NAME="00578" HREF="msg00578.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Thu 29 Oct 1998, 05:04 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</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>