On 5/8/06, cheng long <kevinclcn@xxxxxxxxx> wrote:
> 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
No, the unique id is stored on successful completion of the function. You cannot specify.
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 ?
yes, it is not a value result argument. regards Manish Regmi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/