[hunchentoot-devel] 'max-threads' behavior for Hunchentoot

Hans Hübner hans.huebner at gmail.com
Fri Jun 4 20:29:26 UTC 2010


On Fri, Jun 4, 2010 at 17:08, Scott McKay <swm at itasoftware.com> wrote:
> OK, I seem to have something useful working.  Note that the pooled-thread
> taskmaster is still a stub, for two reasons:
>  1. Thread creation is actually pretty damned fast (on Linux, anyway --
>    around 200 microseconds on my box), and it's not clear that it's worth it.
>  2. This *is* where Bordeaux Threads falls down, maybe because not all Lisp
>    implementations support it.  "Restarting" an existing thread seems not
>    to be a supported operation, so we'd need some complex -- and potentially
>    fragile and error-prone -- protocol for doing "restartable" threads.

I'd say that the idea of a thread pool can be abandoned if it is not
useful, and it seems that it would not be useful.  Let's not put in
stubs.

-Hans




More information about the Tbnl-devel mailing list