Change threads and tasks frequency

Hi there.
As mentioned in the PX4 uORB messaging page, the sensors and modules run at specific rate and we can check the publishing frequency using uorb top command.
Does anyone know how to change tasks and threads frequency into specific rate?