NACTIVITY
pthread_t at[NACTIVITY];
char prefix[NACTIVITY][128];
for (i = 0; i < NACTIVITY; i++) {
for (i = 0; i < NACTIVITY; i++)