Sail E0 Webinar
Question
What will happen if two thread of same priority are called to be processed simultaneously?
Options:
A .  Any one will be executed first lexographically
B .  Both of them will be executed simultaneously
C .  None of them will be executed
D .  It is dependent on the operating system.
Answer: Option D


In cases where two or more thread with same priority are competing for CPU cycles, different operating system handle this situation differently. Some execute them in time sliced manner some depending on the thread they call.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers