On Tue, Aug 17, 2004 at 02:01:31PM -0400, Dan Sugalski wrote:Yep, per-interpreter means per-thread. Each thread gets an interpreter. (Logically, at least. There'll only ever be one OS thread in an interpreter at any one time, though I suppose it's possible an interpreter could move from one thread to another. I'd rather not, though)
As I understand it modperl2 does this dynamic rebinding of perl interpreters to threads, so I expect that they'd like to be able to do in parrot, for whatever reasons they found it useful with perl5.
That works. The only reason I can think to not do this is for external libraries that have thread-dependencies, since migrating the interpreter wouldn't migrate the TLS.
--
Dan
--------------------------------------it's like this------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk