> Is every thread a process, or does Linux just implement threads
> using a process pool (where each process is responsible for N-number
> of threads, where N=1 could be true).
Linux implements threads as "light weight processes", so they do tend to
get their own process id (which also mean, I believe, that the number of
threads is limited by the max number of processes). Not all systems do
this (solaris for one does not seem to).
They are not true processes, though, although some aspects of their
behavior are similar. I don't know offhand the differences but I remember
it being discussed in books like the O'Reilly pthreads book.
------------------------------------------
Rusty Brooks : http://www.rustybrooks.org/
Spewing wisdom from every orifice
------------------------------------------