-
What will happen if two thread of the same priority are called to be processed simultaneously?
-
- Both of them will be executed simultaneously
- Anyone will be executed first lexographically
- It is dependent on the operating system
- None of them will be executed
- All of above
Correct Option: C
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.