<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: lurker emerges --> <!--X-From-R13: "F. Oyrknaqre Bbcvry" <cbcvryNfahtuneobe.pbz> --> <!--X-Date: Tue, 11 Aug 1998 08:05:30 -0700 --> <!--X-Message-Id: 199808111505.IAA07913#cashew,snugharbor.com.snugharbor.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 35CFD8F1.A612AE00#freehold,crocodile.org --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: lurker emerges</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:popiel#snugharbor,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="msg00657.html">Previous</a> | <a href="msg00659.html">Next</a> ] Thread: [ <a href="msg00653.html">Previous</a> | <a href="msg00676.html">Next</a> ] Index: [ <A HREF="author.html#00658">Author</A> | <A HREF="#00658">Date</A> | <A HREF="thread.html#00658">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: lurker emerges</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: lurker emerges </LI> <LI><em>From</em>: "T. Alexander Popiel" <<A HREF="mailto:popiel#snugharbor,com">popiel#snugharbor,com</A>></LI> <LI><em>Date</em>: Tue, 11 Aug 1998 08:05:17 -0600</LI> <LI><em>cc</em>: <A HREF="mailto:popiel#snugharbor,com">popiel#snugharbor,com</A></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> In message: <<A HREF="msg00653.html">35CFD8F1.A612AE00#freehold,crocodile.org</A>> Vadim Tkachenko <vt#freehold,crocodile.org> writes: >T. Alexander Popiel wrote: >> >> To recreate my non-blocking I/O library call, > >The keyword here is "functionally equivalent". *nod* >> Personally, I don't see this as a win. > >Neither do I, but what's important to me is a portability. Can you agree >that you can encapsulate all this stuff so whatever the implementation is >you can keep the interface the same? Unfortunately, I require (by my own free will, I'll admit) functionality in non-threaded environments, so the portability doesn't hold for me. However, we're just getting religious here, so I'll drop it. ;-) However, this conversation has done much to crystalize why I prefer the async primitives over the sync ones... I religiously believe that they map better to the hardware that I commonly use. Thank you for catalyzing this insight. >nor Java semaphores (they don't exist there) *blink blink* I suppose not, in the strictest sense, but I use the following construct all the time: Object sem = new Object(); synchronized (sem) { /* pass sem to some other thread */ sem.wait(); } ... /* some other thread */ synchronized (sem) { sem.notify(); } Tastes like a semaphore to me. ;-) >Please remind me, how do you wait in the programming environment which >doesn't have the synchronized methods like Java does? In any timesharing environment, you inform the scheduler that you should not be rescheduled until a specified event occurs. If the OS kernel is doing the scheduling, then this eventually devolves to a system call. Some languages (like Java) hide scheduler interactions behind language constructs. (For more info on how Java does it, I suggest looking at the Java VM Spec, specifically monitorenter, monitorexit, and some of the compilation examples.) - Alex </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="00676" HREF="msg00676.html">[MUD-Dev] Re: lurker emerges</A></strong> <ul compact><li><em>From:</em> Vadim Tkachenko <vt#freehold,crocodile.org></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00653" HREF="msg00653.html">[MUD-Dev] Re: lurker emerges</A></STRONG> <UL><LI><EM>From:</EM> Vadim Tkachenko <vt#freehold,crocodile.org></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00657.html">[MUD-Dev] Re: Black Isle's Baldur's Gate</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00659.html">[MUD-Dev] Re: META/ADMIN: Re: ADMIN: Advertising on MUD-Dev</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00653.html">[MUD-Dev] Re: lurker emerges</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00676.html">[MUD-Dev] Re: lurker emerges</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00658"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00658"><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: lurker emerges</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00632" HREF="msg00632.html">[MUD-Dev] Re: lurker emerges</A></strong>, T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Mon 10 Aug 1998, 15:29 GMT <UL> <LI><strong><A NAME="00649" HREF="msg00649.html">[MUD-Dev] Re: lurker emerges</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Tue 11 Aug 1998, 03:41 GMT <UL> <LI><strong><A NAME="00652" HREF="msg00652.html">[MUD-Dev] Re: lurker emerges</A></strong>, T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Tue 11 Aug 1998, 04:45 GMT <UL> <LI><strong><A NAME="00653" HREF="msg00653.html">[MUD-Dev] Re: lurker emerges</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Tue 11 Aug 1998, 05:39 GMT <LI><strong><A NAME="00658" HREF="msg00658.html">[MUD-Dev] Re: lurker emerges</A></strong>, T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Tue 11 Aug 1998, 15:05 GMT <LI><strong><A NAME="00676" HREF="msg00676.html">[MUD-Dev] Re: lurker emerges</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Wed 12 Aug 1998, 04:33 GMT </LI> </LI> </LI> <LI><strong><A NAME="00656" HREF="msg00656.html">[MUD-Dev] Re: lurker emerges</A></strong>, Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Tue 11 Aug 1998, 07:53 GMT </LI> </UL> </LI> <LI><strong><A NAME="00654" HREF="msg00654.html">[MUD-Dev] Re: lurker emerges</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Tue 11 Aug 1998, 06:48 GMT </LI> </UL> </LI> </UL> </LI> </ul> </ul> </ul> <LI><strong><A NAME="00615" HREF="msg00615.html">[MUD-Dev] Re: lurker emerges</A></strong>, Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Mon 10 Aug 1998, 05:57 GMT </LI> </ul> </ul> </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>