Wipro interview question

How to assign priorities to process in an RTOS based application.