Dan Sugalski <[EMAIL PROTECTED]> wrote:
=item SHARED THREAD
A thread that's part of a group of threads sharing a common interpreter environment.
I presume that this "group of threads" is one thread pool or interpreter pool. Could you expand the definition to cover "pool".
Ah, damn, I needed to fix that up before sending it out. Should've been "SHARED INTERPRETER". A shared interpreter is one that's in an interpreter pool.
An interpreter pool is a set of interpreters that share common resources. They're essentially threads in the OS sense, and they have shared access to pretty much everything. The memory pools, arenas, and global namespace are shared--pretty much everything except what's in the interpreter structure itself.
>=item Each interpreter show the same process id
The term "process id" is really misleading.
Nope. It's the process ID. Nothing misleading there, unless you've done threading work under linux, since for a while it gave each thread a separate PID.
Again I presume, that one pool is ment here:
All the interpreters within a process will share a process ID.
Nope, again, that's really process. (Again, because of Linux' past bad behavior reporting prorcess IDs)
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk