On 22 Jul, Zoran Vasiljevic wrote:
> On Sunday 22 July 2001 11:35, you wrote:
>> I probably need to make my script load after namespace.tcl and modify
>> the body of namespace.tcl, this is not a big problem, this will fix my
>> problem for now.
> IIRC, you will then have a problem of your procedure NOT
> appearing in any of the (connection or other) threads.
> Or do I miss something?

Actually, whenever I call the proc I get the error I sent earlier.

For now the solution is as follows:
I have a file z.tcl, called after namespace.tcl, where I rename
_ns_getinit to another name, write another _ns_getinit (which appends
the load ./libtbcload1.3.so\n and the source of z.tbc). This works now,
not sure about the impact on speed (tbc should be made as 'nstbc.so'
with registered interp funcion, instead of load-ing it from Tcl).

Out of couriosity, how is this done in AOL4?

--
WK

Reply via email to