On Thu, 14 Jan 1999, Jorge Nerin wrote: > > And to the number of threads I say a program wich does two > pthread_create will end having a PID for the program itself, a PID > for the thread manager, and a PID for every thread, for a total of > four different PIDs. > That is true... your original post seemed to imply a 2x overhead in number of processes. If you do 8 pthread_create() calls, no matter who (which thread) does them, you will end up with the parent, the 8 new threads, and one for the 'thread manager' as you call it. So the overhead is always one extra thread for the task that gathers results when threads terminate to take care of the 'join' operation that may be done... - Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/ To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
- I need Linux SMP ammunition so that I might carry on... Timothy MacDonald
- Re: I need Linux SMP ammunition so that I might... Alan Cox
- Re: I need Linux SMP ammunition so that I might... Robert M. Hyatt
- Re: I need Linux SMP ammunition so that I might... Jorge Nerin
- Re: I need Linux SMP ammunition so that I m... Robert M. Hyatt
- Re: I need Linux SMP ammunition so that... Jorge Nerin
- Re: I need Linux SMP ammunition so ... Robert M. Hyatt
- Re: I need Linux SMP ammunition so that I m... Jorge Nerin
- Re: I need Linux SMP ammunition so that I might... Robert G. Brown
- Re: I need Linux SMP ammunition so that I m... Robert M. Hyatt
- Re: I need Linux SMP ammunition so that... Robert G. Brown
- Re: I need Linux SMP ammunition so ... Robert M. Hyatt
- Re: I need Linux SMP ammunition so ... Chris Pirih
- Re: I need Linux SMP ammunitio... Herbert Wengatz 42850
- Re: I need Linux SMP ammun... paul
- Re: I need Linux SMP a... Douglas Eadline
- Re: I need Linux SMP ammunition so that... Chris Mauritz
