Am 14.07.2006 um 16:13 schrieb Vlad Seryakov:
I still think that you could build ns_callback command that will be
similar to ns_conn, i.e. it works only in the context of callback like
ns_conn in the connection thread only. This way you can extend it
as you
wish and be backward compatible
I still think that you could build ns_callback command that will be
similar to ns_conn, i.e. it works only in the context of callback like
ns_conn in the connection thread only. This way you can extend it as you
wish and be backward compatible
Zoran Vasiljevic wrote:
Am 13.07.2006 um 22:16 sc
Am 13.07.2006 um 22:16 schrieb Stephen Deasey:
Why can't you initialise resources when you register the callback? I
don't think I understand the problem here...
Well, my first idea was to get a kind of "self-initializing" and
"self-cleaning" procedures. Most importantly the "self-cleaning"
Am 13.07.2006 um 22:16 schrieb Stephen Deasey:
Ns_TclCallbackArgProc is only for reporting purposes, so it doesn't
much matter. There should be lots of tests for this in the test suite
Well, I see... for reporting this really does not matter.
The output of this command can't be used for anyth
Am 13.07.2006 um 22:16 schrieb Stephen Deasey:
Maybe
have a look if this particular cases is tested for...
ok. will do.
On 7/13/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
Hi !
There is a call in tclcallbacks.c:
Ns_TclCallbackArgProc(Tcl_DString *dsPtr, void *arg)
{
int ii;
Ns_TclCallback *cbPtr = arg;
Tcl_DStringAppendElement(dsPtr, cbPtr->script);
for (ii = 0; ii < cbPtr->a
Am 13.07.2006 um 16:44 schrieb Vlad Seryakov:
Is it possible to retrieve callback operation from within callback
without providing required first argument all the time.
something line ns_callback operation, ns_callback script,
ns_callback
and in the callback and ns_callback command us
Is it possible to retrieve callback operation from within callback
without providing required first argument all the time.
something line ns_callback operation, ns_callback script, ns_callback
and in the callback and ns_callback command use special tls which will
be set with callback stru
Am 13.07.2006 um 10:17 schrieb Zoran Vasiljevic:
Class Logger
Logger log args {
puts stderr $args
}
Logger proc log args {
puts stderr $args
}
that is...
Zoran
Hi !
There is a call in tclcallbacks.c:
Ns_TclCallbackArgProc(Tcl_DString *dsPtr, void *arg)
{
int ii;
Ns_TclCallback *cbPtr = arg;
Tcl_DStringAppendElement(dsPtr, cbPtr->script);
for (ii = 0; ii < cbPtr->argc; ii++) {
Tcl_DStringAppendElement(dsPtr, cbPtr->a
10 matches
Mail list logo