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).
If anyone has done this before, or could give me some pointers/examples
This gets a conn:
Ns_Conn *conn;
/* get connection structure */
conn = Ns_TclGetConn(interp);
if (conn == NULL) {
Tcl_AppendResult(interp, NULL conn??, NULL);
return TCL_ERROR;
But a detached thread won't have a conn structure - it isn't associated
with a connection.
I think
In a message dated 8/30/01 12:00:42 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
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