[API] How many time to be context-switched?
rbpoficial at gmail.com
Sun Nov 27 12:15:28 EST 2016
As a question I've made on Stackexchange
I'm developing a real-time program where scheduler's context-switches
might interfere its performance.
Suppose I need to do many consecutive (but optional) operations (I
mean I'm able to cancel some of them) of the same type in every
execution of a timer-oriented signal handler.
Could I check how much time left until my thread get context-switched?
[...] and then I can cancel/jump some operations for a better
performance at all.
If yes, how can I do it (in C code)?
Ricardo Biehl Pasquali
More information about the Kernelnewbies