0

In an intervew I was asked this question:

What is the thread scheduling algorithm like round robin and FCFS is process scheduling algorithm, in similar way what is thread scheduling algorithm.

I told there is not specific order that the threads within a process are going to execute that's why the problem of race condition occurred.

It all depends on processor that will randomly choose any thread to execute it.

But interviewer didn't seem satisfied.

Any help?

Thank you

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Prakash Raj
  • 11
  • 1
  • 2

0 Answers0