[MUD-Dev] Re: PDMud thread summary

Adam J. Thornton adam at phoenix.Princeton.EDU
Mon Oct 26 10:45:04 New Zealand Daylight Time 1998

On Mon, Oct 26, 1998 at 12:18:19AM +0000, Jon A. Lambert wrote:
> Aye.  How about support for static variables and recursion.  We 
> haven't discussed module level variables (outside of functions).


Static variables and threadsafety are difficult to mix.  I suggest we have
thread-specific data persistent across calls instead and insist that
all references to that data go through access functions.  Yes, it's less
convenient, but it will allow us to do multithreaded stuff with a lot less
gray hair.

Recursion, of course, we ought to have.  

adam at princeton.edu 
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman

More information about the MUD-Dev mailing list