Re: thread-pool scope

2009-07-22 Thread Dan Fichter
Thanks very much for the reply. I've considered creating namespaces on the fly and interning vars in them for each thread pool. Thread-local binding that follows the stack discipline is a beautiful concept (if I call you, accept and pass on my bindings), and thread-pool binding seemed like it wou

Re: thread-pool scope

2009-07-21 Thread Stuart Sierra
Hi Dan, I'm not sure, but closures actually sound like the way to go here. That would be the traditional functional-programming solution to this problem. It's true the Java equivalent is ugly, but that's because Java doesn't have real closures. :) -SS On Jul 20, 3:30 pm, Dan Fichter wrote: >