Forum OpenACS Development: Re: Problem reloading tcl library files from APM

Collapse
Posted by Dave Bauer on
Thanks Gustaf. It is good to learn that ns_eval spawns a new thread. Definitely we would need to reload all the files in one call to ns_eval instead of an individual call for each file.
Collapse
Posted by Gustaf Neumann on
It might be worse than this: As far as i remember, the current code does a source for every file in every connection thread. So, if one puts simply a ns_eval around the source in a configuration with say 10 connection threads and modifies multiple files, much redundant work will happen.

Of course, i might be wrong, it is a while since i looked at this code.