为什么Windows任务管理器在从VS运行int main(){}时显示两个线程?

时间:2016-02-29 14:50:03

标签: c++ visual-studio process cmd

从Visual Studio启动以下程序时:

int main()
{
    for (;;)
        ; // ignore undefined behavior or imagine your favorite calculation here
}

Windows任务管理器显示该进程的两个线程。

第二个帖子是什么?模拟Windows命令shell?如果是,那么启动顺序是什么?

0 个答案:

没有答案