Would process context be switched when it is in endless loop?

后端 未结 0 879
长情又很酷
长情又很酷 2021-01-24 10:43

When limited to a machine with only one CPU, I have two programs, the first:

int main(void)
{
  while(1);
  return 0;
}


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题