In program 13.14, Eric Chen points out that under Linux, the default
scheduling policy does not allow the changing of the thread priority.
We can change to the SCHED_FIFO or SCHED_RR policy
by adding code similar to the following after the second if in
policy = SCHED_FIFO;
if (error = pthread_attr_setschedpolicy(&highprio,policy))