Add the ability to set the scheduling parameters of the main thread.