+---------- On Aug 30, Peter Harper said:
> If I've got a detached thread running some C code, how might I go about
> executing a Tcl procedure. Ns_TclEval looks like what I'm looking for, but
> it needs a server connection (as far as I can tell from the documentation).
It doesn't need a server connection. It needs a server name. In nsd
3.x, it doesn't even use that name, because each running nsd handles
only one server. In nsd 4, a single running nsd can handle many
servers, each with its own Tcl library, so nsd 4 needs the server name to
create the Tcl interpreter with the proper library.