How would you prevent and resolve priority inversion in a real-time system at Benchmark Space Systems?