Actually I was looking for pthread_setschedparam(). But it wasn't
clear at first that I needed to change the policy to SCHED_FIFO and
that special capabilities were needed. With those changes it seems to
work correctly.
Thanks for pointing me in the right direction!
Alan Stern
--