MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

[MUD-Dev] Re: PDMud thread summary



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





[ Other Periods  | Other mailing lists  | Search  ]