threadFn
pthread_create(&ids[i], NULL, threadFn, &short_ids[i]);
pthread_create(&t, NULL, threadFn, NULL);