Wipro Interview Question

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