GLOBALS vs. REGISTRY
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: GLOBALS vs. REGISTRY
- From: "Matthew Harmon" <matt@...>
- Date: 2004年8月13日 09:26:27 -0500
Hi all.
I need to store a pointer to the C++ object that is managing a
script/thread/state. I'm a bit confused over what best practice is for
this. I was originally storing it in the GLOBALS table, but the docs imply
a better place for it is in the REGISTRY table. Is this just to avoid
polluting the GLOBALS, or is there some other mechanism I should be aware of
here?
Thanks a bunch.