pthread_detach(pthread_self());
jcr = new_jcr(sizeof(JCR), stored_free_jcr);
pthread_detach(pthread_self());
jcr = new_jcr(sizeof(JCR), stored_free_jcr);
/* Initialize FD start condition variable */
int errstat = pthread_cond_init(&jcr->job_start_wait, NULL);
if (errstat != 0) {
/* Initialize FD start condition variable */
int errstat = pthread_cond_init(&jcr->job_start_wait, NULL);
if (errstat != 0) {