pri_worker_thread
if ((status = thr_create(NULL, 0, pri_worker_thread, NULL, THR_BOUND,
static void *pri_worker_thread(void *arg);