<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: lurker emerges --> <!--X-From-R13: Brgev Hvexxhyn <civexxhyNvxv.sv> --> <!--X-Date: Tue, 11 Aug 1998 00:53:13 -0700 --> <!--X-Message-Id: 13775.63575.159227.304577#arioch,tky.hut.fi --> <!--X-Content-Type: text/plain --> <!--X-Reference: 35CFBD79.68748E69#freehold,crocodile.org --> <!--X-Reference: 199808110445.VAA07689#cashew,snugharbor.com.snugharbor.com --> <!--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:pvirkkul#iki,fi"> </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="msg00655.html">Previous</a> | <a href="msg00657.html">Next</a> ] Thread: [ <a href="msg00676.html">Previous</a> | <a href="msg00654.html">Next</a> ] Index: [ <A HREF="author.html#00656">Author</A> | <A HREF="#00656">Date</A> | <A HREF="thread.html#00656">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>: Petri Virkkula <<A HREF="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</A>></LI> <LI><em>Date</em>: Tue, 11 Aug 1998 10:52:55 +0300 (EEST)</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> >>>>> "Alex" == T Alexander Popiel <popiel#snugharbor,com> writes: Alex> For reference, I only started Java two years ago, and before and Alex> during that, I've been a big UNIX and C (_not_ C++) fan. Java is Alex> not my first exposure to multithreading issues (I also do MUSHcode Alex> which exhibits many of the same problems), but I generally view Alex> multithreading in terms of the large amount of overhead it brings. I have different view to multithreading. I used to be programming embedded systems (smart card readers), and multithreading (though we used term multitasking even though there was only no address space and no memory protection (80188/V20/V25/V30 does not have a MMU), except because the code was in ROM) was very helpful to make the code more modular, easier to read and often even faster. There was, for example, a "task" (ie. a thread) making different sound effects with buzzer. It received a request to play sound pattern through single interface function. The task was most of the time waiting on semaphore, but when it received a request, it played the requested sound pattern sequentially (buzzer on, sleep x milliseconds, buzzer off, sleep y milliseconds, buzzer on, sleep z milliseconds, buzzer off, and so on) without need to care about other tasks. IMHO multithreaded program can be cleaner and more modularized resulting code that can be tested more easily. That's enough for me in most cases to use threads even if there is small speed penalty. Petri </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="00649" HREF="msg00649.html">[MUD-Dev] Re: lurker emerges</A></STRONG> <UL><LI><EM>From:</EM> Vadim Tkachenko <vt#freehold,crocodile.org></LI></UL></LI> <LI><STRONG><A NAME="00652" HREF="msg00652.html">[MUD-Dev] Re: lurker emerges</A></STRONG> <UL><LI><EM>From:</EM> "T. Alexander Popiel" <popiel#snugharbor,com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00655.html">[MUD-Dev] Re: async i/o and threads (was: Re: lurker emerges</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00657.html">[MUD-Dev] Re: Black Isle's Baldur's Gate</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00676.html">[MUD-Dev] Re: lurker emerges</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00654.html">[MUD-Dev] Re: lurker emerges</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00656"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00656"><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> <ul compact> <ul compact> <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> </ul> </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> <LI><strong><A NAME="00600" HREF="msg00600.html">[MUD-Dev] Re: lurker emerges</A></strong>, James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Sun 09 Aug 1998, 23:54 GMT <UL> <LI><strong><A NAME="00603" HREF="msg00603.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, 02:19 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>