bulkthread
pthread_create(&JobsAry[i].td, NULL, bulkthread, &JobsAry[i]);
static void *bulkthread(void *arg);