Subj : Re: Linux MultiTherad To : comp.programming.threads From : Joe Seigh Date : Mon Aug 01 2005 01:58 pm Gio67 wrote: > HI, I'm developing a multithreading apllication in C using the pthread > library. > When a new thread i started , the Linux OS creates a new process, and I > need to know wich is the pid of the new thread. > How can I do to know the pid ? There is an API ? > Thank you > > Linux threads or NPTL? And threads don't really have a pid, they have a thread id. Why do you think you need to know this? -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .