8 pointer
[0] = 'x'; // thread1 line
13 pointer
[0] = 'y'; // thread2 line
17 int main (int argc
, char const *argv
[])
19 for (int i
= 0; i
< 100; i
++) {
20 pointer
= (char *)malloc(10); // malloc line
23 pthread_create(&t1
, NULL
, f1
, NULL
);
24 pthread_create(&t2
, NULL
, f2
, NULL
);
26 pthread_join(t1
, NULL
);
27 pthread_join(t2
, NULL
);