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
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).
Danger:
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
--
adam#princeton,edu
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman
- Thread context:
- [MUD-Dev] Re: PDMud thread summary, (continued)
[ Other Periods
| Other mailing lists
| Search
]