1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: atomic functions -->
<!--X-From-R13: Eunja Vnycraal <znynpunvNvanzr.pbz> -->
<!--X-Date: Thu, 14 May 1998 13:00:56 &#45;0700 -->
<!--X-Message-Id: 19980514160045.A1244#sun104,humb.nt.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199805061934.VAA10168#xs1,simplex.nl -->
<!--X-Reference: 19980507101056.C9025#sun104,humb.nt.com -->
<!--X-Reference: 199805132140.QAA04570@dfw&#45;ix14.ix.netcom.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: atomic functions</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:malachai#iname,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="msg00583.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00587.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00558.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00559.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00584">Author</A>
&nbsp;|&nbsp;<A HREF="#00584">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00584">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: atomic functions</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: atomic functions</LI>
<LI><em>From</em>: Shawn Halpenny &lt;<A HREF="mailto:malachai#iname,com">malachai#iname,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 14 May 1998 16:00:45 -0400</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent -- Kanga.Nu version" &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Wed, May 13, 1998 at 05:42:00PM +0000, Jon A. Lambert wrote:
&gt; On  7 May 98, Shawn Halpenny wrote:
&gt; &gt; On Wed, May 06, 1998 at 09:34:27PM +0200, Felix A. Croes wrote:
&gt; &gt; &gt; 
&gt; &gt; &gt; I contest this :)  I claim that it is very useful indeed, and not
&gt; &gt; &gt; at all illusionary.  I frequently find that actions which have to
&gt; &gt; &gt; be atomic -- for instance, moving a hungry dragon into a room,
&gt; &gt; &gt; which changes both the environment of the dragon and the inventory
&gt; &gt; &gt; of the room -- are part of a larger event, the actions of which
&gt; &gt; &gt; I want to be executed precisely in that other without other
&gt; &gt; &gt; events intervening.
&gt; &gt; 
&gt; &gt; Moving the hungry dragon into the room does not have to be an atomic
&gt; &gt; action.  Removing the dragon from its current room is one event, putting it
&gt; &gt; into the next room is another.  This is an attempt to minimize the number
&gt; &gt; of C&amp;C collisions if you have a lot of these things going on (get rid of the
&gt; &gt; container-room ideology and this is even less a factor--something I'll
&gt; &gt; probably end up going with).  The movement events will be executed in the
&gt; &gt; correct order, since the dragon removal event posts the dragon insertion
&gt; &gt; event only if it successfully C&amp;C's.
&gt; &gt; 
&gt; 
&gt; But what if object Bubba "closes the door"event succeeds  after the 
&gt; "dragon removed from the room" event succeeds  and before "dragon 
&gt; added to Bubba's room" begins.  Does the dragon go through the closed 
&gt; door? 

Unfortunately in this mail, the dragon does go through the door.  Had I payed
closer attention to what I was saying when replying, it wouldn't.

How ghastly of me to write that (and worse, I have it all written up
correctly in my D-doc...shame on me).

Not everything can be broken up like that, the general case of
a one-step process concurrent with a two-step process, both with a
common object like the door being a fine example.  I confuzzed the thinking
about loops over multiple objects with the 1:2 step process case...

(The curious can harken back to
<A  HREF="http://www.kanga.nu:80/~petidomo/lists/mud-dev/1997Q3/msg00468.html">http://www.kanga.nu:80/~petidomo/lists/mud-dev/1997Q3/msg00468.html</A> )
for a little bit more about why this can be particularly dastardly.

-- 
Shawn Halpenny

I know that you believe you understand what you think I said, but,
I am not sure you realize that what you heard is not what I meant.  

-- 
MUD-Dev: Advancing an unrealised future.

</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="00433" HREF="msg00433.html">[MUD-Dev] Re: atomic functions</A></STRONG>
<UL><LI><EM>From:</EM> "Felix A. Croes" &lt;felix#xs1,simplex.nl&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00459" HREF="msg00459.html">[MUD-Dev] Re: atomic functions</A></STRONG>
<UL><LI><EM>From:</EM> Shawn Halpenny &lt;malachai#iname,com&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00558" HREF="msg00558.html">[MUD-Dev] Re: atomic functions</A></STRONG>
<UL><LI><EM>From:</EM> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00583.html">[MUD-Dev] Re: Attributes: Sanity</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00587.html">[MUD-Dev] Re: MURKLE: Wot it is</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00558.html">[MUD-Dev] Re: atomic functions</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00559.html">[MUD-Dev] Re: atomic functions</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00584"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00584"><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: atomic functions</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00464" HREF="msg00464.html">[MUD-Dev] Re: atomic functions</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 07 May 1998, 22:58 GMT
</LI>
</ul>
<LI><strong><A NAME="00433" HREF="msg00433.html">[MUD-Dev] Re: atomic functions</A></strong>, 
Felix A. Croes <a href="mailto:felix#xs1,simplex.nl">felix#xs1,simplex.nl</a>, Wed 06 May 1998, 19:37 GMT
<UL>
<LI><strong><A NAME="00459" HREF="msg00459.html">[MUD-Dev] Re: atomic functions</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Thu 07 May 1998, 14:12 GMT
<UL>
<LI><strong><A NAME="00558" HREF="msg00558.html">[MUD-Dev] Re: atomic functions</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 13 May 1998, 21:41 GMT
<UL>
<LI><strong><A NAME="00584" HREF="msg00584.html">[MUD-Dev] Re: atomic functions</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Thu 14 May 1998, 20:00 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00559" HREF="msg00559.html">[MUD-Dev] Re: atomic functions</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 13 May 1998, 21:46 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00511" HREF="msg00511.html">[MUD-Dev] Re: atomic functions</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 12 May 1998, 01:17 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00437" HREF="msg00437.html">[MUD-Dev] Re: atomic functions</A></strong>, 
Felix A. Croes <a href="mailto:felix#xs1,simplex.nl">felix#xs1,simplex.nl</a>, Wed 06 May 1998, 21:31 GMT
<UL>
<LI><strong><A NAME="00444" HREF="msg00444.html">[MUD-Dev] Re: atomic functions</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 06 May 1998, 22:29 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>