On Mon, Feb 17, 2003 at 06:44:05PM -0500, Andrew Piskorski wrote: > Also, the Tcl procs I've defined don't seem to work in non-connection > threads either. I definitely get "invalid command name" errors both > in the -main- and various detached threads (e.g., -thread6-, > -thread7-). Why? Do I need to configure something different for > AOLserver 4.0?
Ah, more detail on this part of the problem: >From a connection thread, this works fine: ns_thread begindetached [list atp_test foo bar] But if I issue that exact same command from one of my Tcl library files, during AOLserver startup, but still AFTER defining the atp_test proc, the above fails with e.g.: [17/Feb/2003:19:01:18][2264.8][-thread8-] Error: invalid command name "atp_test" invalid command name "atp_test" On AOLserver startup, I definitely need to spawn some threads which run Tcl procs I've created. How do I go about doing this in AOLserver 4? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com
