Russinovich’s book says that a stream (NOTE: this is about the OS stream) will need scheduling (planning) if it a) becomes ready b) has completed its time list, lessons or blocks.
I have a managed thread in my real-time C # application, for which it is very important to achieve as many context switches as possible.
This thread has the highest priority, and the process has a RealTime priority, which makes my thread priority 26 of 31.
What will happen to my thread when it finishes its time interval and there are no pending threads with priority> = 26?
Will the context switch be turned on to reconfigure my stream to restart or switch the context, and the stream will work without interruption?
If there is a context switch - can anyone tell me how many CPU cycles are required on average ?
I would appreciate simple and definitive answers !
Thank!
source
share