On Thu, 31 Jan 2019 15:46:59 -0500
Andrew Piskorski <a...@piskorski.com> wrote:

>  And I already know how to call
> NsTclNsvGetObjCmd() etc. from C.  But the Nsv functions all operate
> ONLY on strings...

Oh yes, never use NsXXX calls in your code
as these are not exported and may change anytime. 
Always use Ns_XXX instead.

The only safe way to share data between threads
in Tcl is over strings. One can go to some extent
and try making Tcl objects shareable but for that
you need to know the object internals which is a 
great PITA and does not always work well, except for
a limited set of object types.

Cheers,
Zoran
 




_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to