runstreams
static void *runstreams(void *arg);
if (pthread_create(&t->tid, NULL, runstreams, t) != 0)