Why is creating a new process more expensive on Windows than Linux?

后端 未结 10 708
情深已故
情深已故 2020-11-27 11:35

I\'ve heard that creating a new process on a Windows box is more expensive than on Linux. Is this true? Can somebody explain the technical reasons for why it\'s more expen

10条回答
  •  情话喂你
    2020-11-27 12:27

    It's also worth noting that the security model in Windows is vastly more complicated than in unix-based OSs, which adds a lot of overhead during process creation. Yet another reason why multithreading is preferred to multiprocessing in Windows.

提交回复
热议问题