1997Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Multi&#45;threaded programming under Linux -->
<!--X-From-R13: @nguna Kbfcr <lbfcrNunjnvv.rqh> -->
<!--X-Date: from fabius.globecomm.net [207.51.48.6] by in11.ibm.net id 869621139.18600&#45;1 Wed Jul 23 01:25:39 1997 CUT -->
<!--X-Message-Id: Pine.GSO.3.95q.970722152021.26692A&#45;100000@uhunix2 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.3.91.970722173848.64v&#45;100000@uni&#45;corn.demon.co.uk -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Multi-threaded programming under Linux</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:yospe#hawaii,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="msg00217.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00219.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00214.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00232.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00218">Author</A>
&nbsp;|&nbsp;<A HREF="#00218">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00218">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Multi-threaded programming under Linux</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Multi-threaded programming under Linux</LI>
<LI><em>From</em>: Nathan Yospe &lt;<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>&gt;</LI>
<LI><em>Date</em>: Tue, 22 Jul 1997 15:25:03 -1000</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Tue, 22 Jul 1997, Greg Munt wrote:

:(Referring to a threaded mud implementation)

:&gt; Linux pthreads is pretty poor atm.  I spent a couple of weeks finding out
:&gt; loads about the threads library - it opens up all sorts of cool
:&gt; possibilities, but it would be more hassle than it was worth - the
:&gt; pthreads library is not stable, libg++ is not thread safe, as are the io
:&gt; functions in libc.... The list goes on.  On top of all this, you have to
:&gt; take the added precautions that all multithreaded programs must have - eg
:&gt; the database would have to support locking, checking, etc.

:I always thought Nathan was working with gcc. And I'm *sure* Physmud++ is 
:threaded - isn't it?

:Any comments on the above? I would really like to start with threads, 
:rather than decide to rewrite nearly everything at a later date; but 
:would it be more hassle than it's worth?

:Those who have a threaded server, what OS/dev tools are you using? Is 
:Linux currently the wrong choice for anything serious in this area?

I'm using g++ for the solaris version, but I am using solaris threads, not
pthreads, and with my own wrapper library. And I'm not using libg++... not
even for io, which consists of my own wrapper library for sockets, loosely
based on (but not using) Socket++. File io is done through a modified
version of the same. And I don't have a database... the threads operate
over the containment layer, which means concurency is never an issue.
(message passing needn't be concurent, exactly)

"You? We can't take you," said the Dean, glaring at the Librarian.
"You don't know a thing about guerilla warfare." - Reaper Man,
Nathan F. Yospe  Registered Looney                   by Terry Pratchett
yospe#hawaii,edu   <A  HREF="http://www2.hawaii.edu/~yospe">http://www2.hawaii.edu/~yospe</A>           Meow


</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="00214" HREF="msg00214.html">Multi-threaded programming under Linux</A></STRONG>
<UL><LI><EM>From:</EM> Greg Munt &lt;greg#uni-corn,demon.co.uk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00217.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00219.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00214.html">Multi-threaded programming under Linux</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00232.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00218"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00218"><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>Re: [MUD-Dev]  Multi-threaded programming under Linux</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00220" HREF="msg00220.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 23 Jul 1997, 09:42 GMT
<UL>
<LI><strong><A NAME="00226" HREF="msg00226.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></strong>, 
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Wed 23 Jul 1997, 17:26 GMT
<UL>
<LI><strong><A NAME="00230" HREF="msg00230.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Thu 24 Jul 1997, 06:58 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00214" HREF="msg00214.html">Multi-threaded programming under Linux</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Wed 23 Jul 1997, 02:27 GMT
<UL>
<LI><strong><A NAME="00218" HREF="msg00218.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 23 Jul 1997, 08:25 GMT
</LI>
<LI><strong><A NAME="00232" HREF="msg00232.html">Re: [MUD-Dev]  Multi-threaded programming under Linux</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Thu 24 Jul 1997, 07:19 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00212" HREF="msg00212.html">Brief bio</A></strong>, 
Niklas Elmqvist <a href="mailto:croziys#algonet,se">croziys#algonet,se</a>, Mon 21 Jul 1997, 23:20 GMT
<UL>
<LI><strong><A NAME="00374" HREF="msg00374.html">Re: [MUD-Dev]  Brief bio</A></strong>, 
Martin Keegan <a href="mailto:martin#cam,sri.com">martin#cam,sri.com</a>, Mon 04 Aug 1997, 18:39 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00207" HREF="msg00207.html">[MUD-Dev]  Graphical MUDs</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Sun 20 Jul 1997, 07:04 GMT
</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>