<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Yet another update on threads and signals --> <!--X-From-R13: "Oqnz X. Fubeagba" <nqnzNcubravk.Bevaprgba.SRG> --> <!--X-Date: Sat, 15 Aug 1998 12:22:00 -0700 --> <!--X-Message-Id: 19980815152103.D7812#yuma,Princeton.EDU --> <!--X-Content-Type: text/plain --> <!--X-Reference: 199808151531.JAA05776@ami-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> [ <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="msg00740.html">Previous</a> | <a href="msg00742.html">Next</a> ] Thread: [ <a href="msg00736.html">Previous</a> | <a href="msg00742.html">Next</a> ] Index: [ <A HREF="author.html#00741">Author</A> | <A HREF="#00741">Date</A> | <A HREF="thread.html#00741">Thread</A> ] <!--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" <<A HREF="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</A>></LI> <LI><em>Date</em>: Sat, 15 Aug 1998 15:21:03 -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 09:31:06AM -0600, Chris Gray wrote: > >This is basically what I'm doing, except that the distributor doesn't get > >"Player Leaving Room X" messages; it just gets "Player Entering Room Y"; it > >also picks up "Room X is empty and shutting down" messages. If a player > >wants to enter Room Y, and there's no one in there, the distributor creates > >the Room Y process. > [Lots more details snipped] > OK, sounds good then. The key thing is that there is no need to have > any signals of any kind, which it sounded like you were thinking you > needed. If every room is also listening on its socket to the > distributer, then an arriving player wakes it up that way. But then, don't I need one port per process? There's no way for me to telnet to port 5019 in process 2231, for example. So do I need to hand out a random port number in some range to each process? The signals avoided having to have an arbitrary number of numbered ports open; I'm not sure which is the lesser evil. 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="00736" HREF="msg00736.html">[MUD-Dev] Re: Yet another update on threads and signals</A></STRONG> <UL><LI><EM>From:</EM> Chris Gray <cg#ami-cg,GraySage.Edmonton.AB.CA></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00740.html">[MUD-Dev] Re: [Mud-Dev] Re: Affordances and social method</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00742.html">[MUD-Dev] Re: Yet another update on threads and signals</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00736.html">[MUD-Dev] Re: Yet another update on threads and signals</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00742.html">[MUD-Dev] Re: Yet another update on threads and signals</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00741"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00741"><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: UBE/high: RE: [Mud-Dev] Re: Affordances and social method</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00792" HREF="msg00792.html">[MUD-Dev] Re: UBE/high: RE: [Mud-Dev] Re: Affordances and social method</A></strong>, Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 21 Aug 1998, 03:56 GMT </LI> </ul> </LI> <LI><strong><A NAME="00728" HREF="msg00728.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, 01:12 GMT <UL> <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> </UL> <UL> <li><Possible follow-up(s)><br> <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 </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>