Windows Thread Scheduling by priorities

The system treats all threads with the same priority as equal. The system assigns time slices in a round-robin fashion to all threads with the highest priority. If none of these threads are ready to run, the system assigns time slices in a round-robin fashion to all threads with the next highest priority. If a higher-priority thread becomes available to run, the system ceases to execute the lower-priority thread (without allowing it to finish using its time slice), and assigns a full time slice to the higher-priority thread. For more information, see Context Switches.


http://msdn.microsoft.com/en-us/library/ms685100%28VS.85%29.aspx

0 komentarze:

Prześlij komentarz

 
Tomasz Kulig