setthreadnice
err_thread = dotolwp(procset, setthreadnice, (char *)pcnice);
error = setthreadnice(pcnice, tp);