gras: added thread prio support hooks