Curious as to why wouldn't you want to use ns_thread begindetached? By using a connection thread especially for a long running proc you reduce your potential to server request by N-1.
From: Andrew Piskorski <[EMAIL PROTECTED]> Reply-To: AOLserver Discussion <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [AOLSERVER] grab and use a conn thread from Tcl? Date: Wed, 17 Nov 2004 07:39:31 -0500
In my AOLserver Tcl code, I want to tell another thread to execute a longish-running procedure for me. Rather than create a new thread with 'ns_thread begin', I would prefer to simply grab one of AOLserver's idle conn threads from the pool and use that. But, there seems to be no API to let me to this. Why not? Would it not work for some reason?
-- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
