[MUD-Dev] Multi-threaded programming under Linux

Cynbe ru Taren cynbe at laurel.actlab.utexas.edu
Tue Jul 22 16:25:13 New Zealand Standard Time 1997

Greg Munt <greg at uni-corn.demon.co.uk>

| 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?

My impression also is that native Linux threads are very bleeding edge
still.  For Muq I'm going with application-implemented virtual threads
rather than host-OS threads: Makes my code more portable, means
threads can live across db shutdown/startup boundaries, gives me
control of the scheduling algorithm, reduces synchronization problems
since context switches will happen only on my virtual instruction
boundaries and only with my application's full knowledge and approval,
and avoids host resource limitations (I'm told some host OSs will
freak if you get more than a few hundred native threads running in an
application, for example).

You pays yer money and you takes yer choice :).

More information about the MUD-Dev mailing list