setthreadprio
error = setthreadprio(pcprio, tp);
err_thread = dotolwp(procset, setthreadprio, (char *)pcprio);