Hi - this sounds interesting. Can an ns_share emulation be implemented on top of this new shared var mechanism with good performance, i.e., at least equivalent to TCL7.6 ns_shares?
Jim > > On Friday 08 November 2002 23:34, you wrote: > > Perhaps nsv should be replaced with the svar work Zoran had worked on? You > > could provide backwards compatibility wrappers of course. What do you think > > Zoran? > > The code in current threading extension, implementing the thread shared > variables (aka nsv_*) has already all compatibility wrappers built in. > One can compile the Tcl threading extension for AOLserver and this will > turn on the compatibility wappers automatically (beside providing a very > nice thread-abstraction in addition). > The tsv::* differs from the original nsv in terms of much larger command set, > built-in shared Tcl objects and other goodies, while maintaining the > backward compatibility. > > I have no external-defined C-API but I can refactor to code a little. > This would be no problem at all. I would say, one could take this into > consideration for one of the next releases. > > Cheers > Zoran >
