Allow the thread tests to work in environments where the user can't change the
scheduling policies.