we know that, we need to specify a start routine when we call pthread_create()
imagine that:
if we have 5 threads, do they have the same variable "i" in start routine(they share "i"), or do they have their own copy of "i"?Code:void *start_routine () { int i; for (i=0; i<10; i++) { printf ("%d\t", i); } printf ("\n"); }