2 ms·
So, I assume none of those popular OS'es has priority inheritance[1]. Even though it's a concept from realtime computing, I though it would be widespread in ge
by emiliobumachar 10y ago
So, I assume none of those popular OS'es has priority inheritance[1].
Even though it's a concept from realtime computing, I though it would be widespread in general-purpose OS'es as well. Really, it seems like a useful feature for any OS that implements priority at all.
What would be the downsides of having it in a general-purpose OS?
The ones I can think of are development cost and processing overhead.
[1] https://en.wikipedia.org/wiki/Priority_inheritance https://en.wikipedia.org/wiki/Priority_inheritance
- fl0wenol 10y agoIt's available, but the concept has issues when implemented simplistically on a multi-processor system. (I'm not familiar with the arguments as to why; sorry). You also have to request this behavior explicitly, and I think under certain circumstances it can add latency or additional context switching overhead that might otherwise be avoided between your application threads. Also, in some environments your application has to have elevated privileges to boost thread priority, which carries risk.