1. start 2 nscp sessions, and load above code snippet into 1 of them
with "ns_eval source ..." command
2. in 2nd session, run command "info command mytest::*". It is expected
to return mytest::mytest, but returns nothing. This is wrong.
3. start 3rd nscp session and run command "info command mytest::*". This
time return is correct.
Actually, what is happening here is that what you're describing as "2nd session" is a running thread at the time of the ns_eval of the first. It won't get your update until it exits. The same would be true of any code you ns_eval-ed there.
-- michael
______________________
michael richman
princ software engineer
aol infrastructure dev
214.442.6048
-- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/
