Priority Inversion and  Priority Inheritance Short term, Long term and Mid term scheduling