+ int fosaprio, policy;
+ struct sched_param sp;
+
+ pthread_getschedparam (thread, &policy, &sp);
+ fosa_thread_get_prio (thread, &fosaprio);
+ sp.sched_priority = fosa2prtk (fosaprio, urgency);
+ printf ("policy=%d, prio=%d, urg=%d, new_prio=%d\n", policy);
+ pthread_setschedparam (thread, policy, &sp);