I noticed that when I had a simple non-threaded app, I would see a single process in the $ps listing whenever it ran. Now that I have an app that creates a single helper pthread, $ps shows three processes during runtime. Why is that? I am using mutexes. Does the third process represent these?
If I kill the first or last process by pid, they all get killed too, but if I kill the 2nd by pid, nothing happens.