Is there an equivalent to sched_setscheduler() that adjusts thread priority instead of
process priority? I want my audio thread to be higher priority than my drawing thread.
Both threads are part of the same app (process). Is this possible in Linux v2.5?