in reply to assigning a name to every threads
I don't think you can list threads by ps -ef. As far as I know it only lists processes. Threads and processes are different.
If ps -ef shows two processes there are actually two processes, not the threads created by the mentioned snippet
PS: See man ps for thread listing options
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: assigning a name to every threads
by ajeet@perl (Acolyte) on Apr 29, 2010 at 10:30 UTC | |
by almut (Canon) on Apr 29, 2010 at 14:22 UTC | |
by ajeet@perl (Acolyte) on Apr 30, 2010 at 06:26 UTC | |
by ajeet@perl (Acolyte) on Apr 30, 2010 at 12:21 UTC | |
by almut (Canon) on Apr 30, 2010 at 13:52 UTC | |
by ajeet@perl (Acolyte) on May 03, 2010 at 08:15 UTC | |
by Anonymous Monk on May 03, 2010 at 09:09 UTC | |
|