1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Yet another update on threads and signals -->
<!--X-From-R13: "Oqnz X. Fubeagba" <nqnzNcubravk.Bevaprgba.SRG> -->
<!--X-Date: Sun, 16 Aug 1998 09:08:23 &#45;0700 -->
<!--X-Message-Id: 19980816120654.A5684#flagstaff,Princeton.EDU -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199808152054.OAA06008@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Yet another update on threads and signals</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:adam#phoenix,Princeton.EDU">
</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="msg00744.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00746.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00742.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00726.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00745">Author</A>
&nbsp;|&nbsp;<A HREF="#00745">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00745">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Yet another update on threads and signals</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: Yet another update on threads and signals</LI>
<LI><em>From</em>: "Adam J. Thornton" &lt;<A HREF="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</A>&gt;</LI>
<LI><em>Date</em>: Sun, 16 Aug 1998 12:06:54 -0400</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 Sat, Aug 15, 1998 at 02:54:10PM -0600, Chris Gray wrote:
&gt; Actually, since you said the distributer creates the processes for
&gt; newly active rooms, I would have it create the socket, too. Then the
&gt; new room process would simply open it, by name, to have its connection
&gt; to the distributer. Note that these AF_UNIX sockets are strictly local
&gt; to your one computer, and so their port numbers are an irrelevant
&gt; detail - no process ever needs to know what they are. Actually, with
&gt; named sockets this way, you don't need to bounce things through the
&gt; distributer, come to think of it! To pass a player from one process
&gt; to another, just have the old room open the local socket to the new room,
&gt; write the info (and client socket) down it, then close it again. The new
&gt; room knows that only transfer messages come over its local socket,
&gt; so it knows to handle it different than stuff coming over client sockets.

Oooh, I _like_ this.  So you simply have an AF_UNIX socket open, and have a
thread in each room blocking on reading it.  When it gets something it
pulls the fd that I've passed though it out, and that's the new player
connection in that room; the other thing I need to do is pass a player
identifier down the same pipe, so the room process knows which object tree
to grab hold of and assign to the new player thread.  Cool.

Thanks bunches.  I *like* this design.

Adam
-- 
adam#princeton,edu 
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman


</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="00742" HREF="msg00742.html">[MUD-Dev] Re: Yet another update on threads and signals</A></STRONG>
<UL><LI><EM>From:</EM> Chris Gray &lt;cg#ami-cg,GraySage.Edmonton.AB.CA&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00744.html">[MUD-Dev] Re: Question for the list (Semi-OT)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00746.html">[MUD-Dev] Private Re: [Mud-Dev] Re: Affordances and  social method</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00742.html">[MUD-Dev] Re: Yet another update on threads and signals</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00726.html">[MUD-Dev] FW: UBE/high: Re: W IRED: Kilers have more fun</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00745"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00745"><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: Yet another update on threads and signals</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00733" HREF="msg00733.html">[MUD-Dev] Re: Yet another update on threads and signals</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sat 15 Aug 1998, 05:20 GMT
</LI>
<LI><strong><A NAME="00736" HREF="msg00736.html">[MUD-Dev] Re: Yet another update on threads and signals</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 15 Aug 1998, 15:31 GMT
<UL>
<LI><strong><A NAME="00741" HREF="msg00741.html">[MUD-Dev] Re: Yet another update on threads and signals</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sat 15 Aug 1998, 19:22 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00742" HREF="msg00742.html">[MUD-Dev] Re: Yet another update on threads and signals</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 15 Aug 1998, 20:54 GMT
<UL>
<LI><strong><A NAME="00745" HREF="msg00745.html">[MUD-Dev] Re: Yet another update on threads and signals</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sun 16 Aug 1998, 16:08 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00726" HREF="msg00726.html">[MUD-Dev] FW: UBE/high: Re: W IRED: Kilers have more fun</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Fri 14 Aug 1998, 22:38 GMT
<UL>
<LI><strong><A NAME="00739" HREF="msg00739.html">[MUD-Dev] Re: FW: UBE/high: Re: W IRED: Kilers have more fun</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 15 Aug 1998, 18:18 GMT
<UL>
<LI><strong><A NAME="00793" HREF="msg00793.html">[MUD-Dev] Re: UBE/high: Re: FW: UBE/high: Re: W IRED: Kilers have more fun</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 21 Aug 1998, 04:26 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00749" HREF="msg00749.html">[MUD-Dev] Re: FW: UBE/high: Re: W IRED: Kilers have more fun</A></strong>, 
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Sun 16 Aug 1998, 21:21 GMT
</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>