Re: same pid ?
"Michal Nazarewicz" <[email protected]> Thu, 10 Feb 2011 13:22:41 +0100
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 10 Feb 2011 12:37:25 +0100, ratheesh k <[email protected]> wrote: > i created two threads with pthread library. But both threads returns > same pid with getpid() function. ??? PID is a Process ID. All threads in given process have the same PID. -- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +-<email/jid: [email protected]>--------ooO--(_)--Ooo--