Hi
I was wondering if anyone knows of a way to get the Linux PID of a thread created using threads->create. If I use $$ within the child thread, I always get the parent PID. Using threads->tid() won't give me the Linux PID.
I can see all of the child PID's in top or htop, and I want to be able to identify which thread is which PID, if one misbehaves with high CPU usage.
Thanks!