Forum OpenACS Development: Re: Service Contract: Restart server required

Collapse
Posted by Don Baccus on
Why can't the file with the binding be added to the request processor reload list in the same way the APM adds a file that you've requested be reloaded?

That gets it into every thread's interpreter ...

Collapse
Posted by russ m on
Why can't the file with the binding be added to the request processor reload list in the same way the APM adds a file that you've requested be reloaded?
That gets it into every thread's interpreter ...

Not quite every thread - since apm_load_any_changed_libraries is only called in the request processor, APM watches only work in connection threads (and not in scheduled procs, for example).

Hmmm... Although I guess ad_schedule_proc could be altered to prepend a apm_load_any_changed_libraries to any procs scheduled...