Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Running a simple program with about 6 threads. When using ps I will see 6 PIDs. When adding and calling "gettid" for every running thread there seems to be duplicate PIDs when using ps!!! I am running on Red Hat platform.