id_arg = (int *)malloc(NUM_THREADS*sizeof(int));
+ printf("main: Hello\n");
for (i = 0; i < NUM_THREADS; i++) {
id_arg[i] = i;
r= pthread_create(&threads[i], NULL, child, &id_arg[i]);
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc21_pthonce.c:86)
+ by 0x........: main (tc21_pthonce.c:87)
---Thread-Announcement------------------------------------------
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc21_pthonce.c:86)
+ by 0x........: main (tc21_pthonce.c:87)
----------------------------------------------------------------