4 ms·
What happens when a high priority process RPCs to a low priority process to avoid priority inversion? Does the low priority process inherit the caller's priorit
by vore 4y ago
What happens when a high priority process RPCs to a low priority process to avoid priority inversion? Does the low priority process inherit the caller's priority for the duration of the call?
- Animats 4y agoIn QNX, yes, In this new thing, I don't know. That's a key feature of QNX, because it's a hard real time system. Priorities are taken very seriously. Process priority is also RPC priority, so higher priority processes get priority on services, such as file I/O.
- stolsvik 4y agoMats has two levels of priority: "ordinary" and "interactive". JavaDoc for interactive: <https://mats3.io/javadoc/mats3/0.19/api/io/mats3/MatsInitiator.MatsInitiate.html#interactive() https://mats3.io/javadoc/mats3/0.19/api/io/mats3/MatsInitiat...> Notice that this flag follows the entire Mats Flow, so that the initiated flow gets a "cut the line"-card for all queues it goes through.