On 2004.11.17, Andrew Piskorski <[EMAIL PROTECTED]> wrote:
> 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?
It doesn't use conn threads (it uses its own job thread pool) but ns_job
may be what you're looking for:
http://www.aolserver.com/40drafts/tclapi/thread.html#ns_job
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
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.