On 2/25/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Can somebody explain me why are the global modules
> loaded as part of the prestart callbacks instead of
> directly from within bin/init.tcl ??
>
> ns_runonce -global {
>      ns_atprestartup {
>          set modules [ns_configsection ns/modules]
>          if {$modules ne ""} {
>              foreach {module file} [ns_set array $modules] {
>                  ns_moduleload -global $module $file
>              }
>          }
>      }
> }
>
>
> The question is: why ns_atprestartup ??


It is the order things used to get loaded when the C code handled
things.  Loading global modules first might make more sense...

Reply via email to