On Sunday 22 July 2001 12:28, you wrote:
> 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,
Well, this might not be very fast, I'd say...
But it surely works.
> 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?
>
I dont know if the AOL4 differs from the 3.x in this matter
but I assume not.
You'd need a source of TclPro (from sourceforge).
You must splice-out the tbc loader, wrap its *_Init function
with some AOLserver calls, fix the make to include AOLservers
include files and recompile.
Details are in "C developer's Guide" server docs.
I think there is also an extension example in download area
on http://aolserver.com/archive/modules.
Zoran