dt_proc_create_thread
if (dt_proc_create_thread(dtp, dpr, dtp->dt_prcmode) != 0)
} else if (dt_proc_create_thread(dtp, dpr, DT_PROC_STOP_GRAB) != 0)