[MUD-Dev] Re: PDMud thread summary

Jo Dillon emily at thelonious.new.ox.ac.uk
Tue Oct 27 09:22:50 CET 1998


True - I'd forgotten about that usage when writing the mail, simply
because using static local variables is heavily deprecated as being
non-reentrant. Something we should probably avoid in a multithreaded
mud :)

Adam Wiggins (adam at angel.com) spake thusly:
> It's slightly more complicated than that, due to C++ being a hack on top
> of C.  'static' is best thought of as a way to use global variables with
> a limited scope.  For example:


--
	Jo

Harmony - the project to create an LGPL Qt clone
http://harmony.ruhr.de





More information about the mud-dev-archive mailing list