CreateThread vs fork()

前端 未结 6 1158
余生分开走
余生分开走 2020-12-20 23:05

Do we have any sort of relationship between fork() and CreateThread? Is there anything that CreateThread internally calls fork()?

6条回答
  •  醉梦人生
    2020-12-20 23:40

    CreateThread - is for threads, fork - is for creating duplicate process. And there is no native way to have fork functionality for windows (at least through Win32 ).

提交回复
热议问题