msg00103.html
2000Q1/msg00103.html · 7.5 KB
From the archive 2000Q1.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Question about multithreaded servers -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Mon, 17 Jan 2000 01:02:56 -0800 -->
<!--X-Message-Id: 003c01bf609e$bd4cf5e0$020101df@JonLambert -->
<!--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] Question about multithreaded servers</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>
[ <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="msg00102.html">Previous</a>
| <a href="msg00106.html">Next</a>
]
Thread:
[ <a href="msg00243.html">Previous</a>
| <a href="msg00129.html">Next</a>
]
Index:
[ <A HREF="author.html#00103">Author</A>
| <A HREF="#00103">Date</A>
| <A HREF="thread.html#00103">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Question about multithreaded servers</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] Question about multithreaded servers</LI>
<LI><em>From</em>: "Jon A. Lambert" <<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>></LI>
<LI><em>Date</em>: Sun, 16 Jan 2000 22:52:17 -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>
Fabian wrote:
>
>I wasn't planning on having a fully transactional-based system, or
>otherwise, that is surely the most attractive and elegant approach. I may
>just have to cut that ability out, or find a way to reorganize it where it
>will fail gracefully if a lock attempt times-out. I suppose just by making
>a simple requirement that all objects must be secured at the begining of the
>script would take care of that.
Not a simple requirement though. How about this sort of script construct:
for player in connected
player.message("How about some spam!?!")
endfor
Do you lock every player object in the connected list?
Would the above method be an atomic transaction requiring
completion of all events it would generate?
Or would you spawn a new event to each player object,
and not worry about completion thus making the method
above non-atomic?
And what about guaranteeing event sequence?
for player in connected
player.message("LINE 1")
player.message("LINE 2")
player.message("LINE 3")
endfor
Perhaps when sending "LINE 1" the lock cannot be achieved and
is rescheduled or terminated. So the Player receives:
"LINE 2"
"LINE 3"
"LINE 1"
Just a few things to think about. :)
--
--* Jon A. Lambert - TychoMUD Email: jlsysinc#nospam,ix.netcom.com *--
--* Mud Server Developer's Page <<A HREF="http://jlsysinc.home.netcom.com">http://jlsysinc.home.netcom.com</A>> *--
--* "No Free man shall ever be debarred the use of arms." Thomas Jefferson *--
_______________________________________________
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>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00129" HREF="msg00129.html">RE: [MUD-Dev] Question about multithreaded servers</A></strong>
<ul compact><li><em>From:</em> "Fabian" <lemkef#execpc,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="msg00102.html">Re: [MUD-Dev] Community Relations</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00106.html">Re: [MUD-Dev] Databases (was Re: Commercial-use Restrictions on Code Bases)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00243.html">Re: [MUD-Dev] Question about multithreaded servers</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00129.html">RE: [MUD-Dev] Question about multithreaded servers</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00103"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00103"><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>Re: [MUD-Dev] Question about multithreaded servers</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00088" HREF="msg00088.html">Re: [MUD-Dev] Question about multithreaded servers</A></strong>,
Nick Shaffner <a href="mailto:nicks#3drealms,com">nicks#3drealms,com</a>, Sat 15 Jan 2000, 00:30 GMT
<UL>
<LI><strong><A NAME="00094" HREF="msg00094.html">Re: [MUD-Dev] Question about multithreaded servers</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Sun 16 Jan 2000, 01:56 GMT
<UL>
<LI><strong><A NAME="00101" HREF="msg00101.html">RE: [MUD-Dev] Question about multithreaded servers</A></strong>,
Fabian <a href="mailto:lemkef#execpc,com">lemkef#execpc,com</a>, Sun 16 Jan 2000, 19:12 GMT
<UL>
<LI><strong><A NAME="00243" HREF="msg00243.html">Re: [MUD-Dev] Question about multithreaded servers</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 30 Jan 2000, 21:27 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00103" HREF="msg00103.html">Re: [MUD-Dev] Question about multithreaded servers</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 17 Jan 2000, 09:02 GMT
<UL>
<LI><strong><A NAME="00129" HREF="msg00129.html">RE: [MUD-Dev] Question about multithreaded servers</A></strong>,
Fabian <a href="mailto:lemkef#execpc,com">lemkef#execpc,com</a>, Tue 18 Jan 2000, 20:51 GMT
<UL>
<LI><strong><A NAME="00147" HREF="msg00147.html">RE: [MUD-Dev] Question about multithreaded servers</A></strong>,
Greg Underwood <a href="mailto:gunderwood#donet,com">gunderwood#donet,com</a>, Wed 19 Jan 2000, 04:32 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00149" HREF="msg00149.html">RE: [MUD-Dev] Question about multithreaded servers</A></strong>,
cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 19 Jan 2000, 05:33 GMT
<UL>
<LI><strong><A NAME="00151" HREF="msg00151.html">Re: [MUD-Dev] Question about multithreaded servers</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Wed 19 Jan 2000, 05:48 GMT
</LI>
</UL>
</LI>
</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>