I know that pthread_create(tid....) call assigns a unique thread id which is stored in tid field by default, you can specify your own thread id using first parameter of pthread_create
I think the first parameter of pthread_create is a _result_ argument, not a _value/result_ argument. The man manual doesn't say it a _value/result_ argument too. Am I wrong ? Regard, Cheng -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/