Reuben Martin wrote:
> Why then are the threads assigned separate PIDs?
This is a byproduct of how threads are implemented in the Linux kernel;
they are just separate processes which share the same address map. The
way Linux does it is simpler that some other OSes which have separate
code to handle threads within a process vs processes themselves.> I was under the assumption
Correct.
> (Perhaps "Posix thread IDentifier"
I think this is even a requirement for POSIX.
> Also, is it possible (within the context of programming) to assign threads
Not sure.
> I'm sure these questions open up a whole can of worms dealing with the mess of
What can of worms? What mess?
Quite honestly I think POSIX is showing far less signs of age that many
other far younger APIs (win32 I'm looking at you).
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Java, the best argument for Smalltalk since C++." -- Frank Winkler
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.